public class ch.qos.logback.core.AsyncAppenderBase<E> extends ch.qos.logback.core.UnsynchronizedAppenderBase<E> implements ch.qos.logback.core.spi.AppenderAttachable<E>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.core.AsyncAppenderBase
super_class: ch.qos.logback.core.UnsynchronizedAppenderBase
{
ch.qos.logback.core.spi.AppenderAttachableImpl<E> aai;
descriptor: Lch/qos/logback/core/spi/AppenderAttachableImpl;
flags: (0x0000)
Signature: Lch/qos/logback/core/spi/AppenderAttachableImpl<TE;>;
java.util.concurrent.BlockingQueue<E> blockingQueue;
descriptor: Ljava/util/concurrent/BlockingQueue;
flags: (0x0000)
Signature: Ljava/util/concurrent/BlockingQueue<TE;>;
public static final int DEFAULT_QUEUE_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 256
int queueSize;
descriptor: I
flags: (0x0000)
int appenderCount;
descriptor: I
flags: (0x0000)
static final int UNDEFINED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1
int discardingThreshold;
descriptor: I
flags: (0x0000)
boolean neverBlock;
descriptor: Z
flags: (0x0000)
ch.qos.logback.core.AsyncAppenderBase<E>.Worker worker;
descriptor: Lch/qos/logback/core/AsyncAppenderBase$Worker;
flags: (0x0000)
Signature: Lch/qos/logback/core/AsyncAppenderBase<TE;>.Worker;
public static final int DEFAULT_MAX_FLUSH_TIME;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1000
int maxFlushTime;
descriptor: I
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial ch.qos.logback.core.UnsynchronizedAppenderBase.<init>:()V
1: aload 0
new ch.qos.logback.core.spi.AppenderAttachableImpl
dup
invokespecial ch.qos.logback.core.spi.AppenderAttachableImpl.<init>:()V
putfield ch.qos.logback.core.AsyncAppenderBase.aai:Lch/qos/logback/core/spi/AppenderAttachableImpl;
2: aload 0
sipush 256
putfield ch.qos.logback.core.AsyncAppenderBase.queueSize:I
3: aload 0
iconst_0
putfield ch.qos.logback.core.AsyncAppenderBase.appenderCount:I
4: aload 0
iconst_m1
putfield ch.qos.logback.core.AsyncAppenderBase.discardingThreshold:I
5: aload 0
iconst_0
putfield ch.qos.logback.core.AsyncAppenderBase.neverBlock:Z
6: aload 0
new ch.qos.logback.core.AsyncAppenderBase$Worker
dup
aload 0
invokespecial ch.qos.logback.core.AsyncAppenderBase$Worker.<init>:(Lch/qos/logback/core/AsyncAppenderBase;)V
putfield ch.qos.logback.core.AsyncAppenderBase.worker:Lch/qos/logback/core/AsyncAppenderBase$Worker;
7: aload 0
sipush 1000
putfield ch.qos.logback.core.AsyncAppenderBase.maxFlushTime:I
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
protected boolean isDiscardable();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 1 1 eventObject TE;
Signature: (TE;)Z
MethodParameters:
Name Flags
eventObject
protected void preprocess();
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 1 1 eventObject TE;
Signature: (TE;)V
MethodParameters:
Name Flags
eventObject
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual ch.qos.logback.core.AsyncAppenderBase.isStarted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.appenderCount:I
ifne 5
3: aload 0
ldc "No attached appenders found."
invokevirtual ch.qos.logback.core.AsyncAppenderBase.addError:(Ljava/lang/String;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.queueSize:I
iconst_1
if_icmpge 8
6: aload 0
new java.lang.StringBuilder
dup
ldc "Invalid queue size ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.queueSize:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.core.AsyncAppenderBase.addError:(Ljava/lang/String;)V
7: return
8: StackMap locals:
StackMap stack:
aload 0
new java.util.concurrent.ArrayBlockingQueue
dup
aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.queueSize:I
invokespecial java.util.concurrent.ArrayBlockingQueue.<init>:(I)V
putfield ch.qos.logback.core.AsyncAppenderBase.blockingQueue:Ljava/util/concurrent/BlockingQueue;
9: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.discardingThreshold:I
iconst_m1
if_icmpne 11
10: aload 0
aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.queueSize:I
iconst_5
idiv
putfield ch.qos.logback.core.AsyncAppenderBase.discardingThreshold:I
11: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "Setting discardingThreshold to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.discardingThreshold:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.core.AsyncAppenderBase.addInfo:(Ljava/lang/String;)V
12: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.worker:Lch/qos/logback/core/AsyncAppenderBase$Worker;
iconst_1
invokevirtual ch.qos.logback.core.AsyncAppenderBase$Worker.setDaemon:(Z)V
13: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.worker:Lch/qos/logback/core/AsyncAppenderBase$Worker;
new java.lang.StringBuilder
dup
ldc "AsyncAppender-Worker-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual ch.qos.logback.core.AsyncAppenderBase.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.core.AsyncAppenderBase$Worker.setName:(Ljava/lang/String;)V
14: aload 0
invokespecial ch.qos.logback.core.UnsynchronizedAppenderBase.start:()V
15: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.worker:Lch/qos/logback/core/AsyncAppenderBase$Worker;
invokevirtual ch.qos.logback.core.AsyncAppenderBase$Worker.start:()V
16: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual ch.qos.logback.core.AsyncAppenderBase.isStarted:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokespecial ch.qos.logback.core.UnsynchronizedAppenderBase.stop:()V
3: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.worker:Lch/qos/logback/core/AsyncAppenderBase$Worker;
invokevirtual ch.qos.logback.core.AsyncAppenderBase$Worker.interrupt:()V
4: new ch.qos.logback.core.util.InterruptUtil
dup
aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.context:Lch/qos/logback/core/Context;
invokespecial ch.qos.logback.core.util.InterruptUtil.<init>:(Lch/qos/logback/core/Context;)V
astore 1
start local 1 5: aload 1
invokevirtual ch.qos.logback.core.util.InterruptUtil.maskInterruptFlag:()V
6: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.worker:Lch/qos/logback/core/AsyncAppenderBase$Worker;
aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.maxFlushTime:I
i2l
invokevirtual ch.qos.logback.core.AsyncAppenderBase$Worker.join:(J)V
7: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.worker:Lch/qos/logback/core/AsyncAppenderBase$Worker;
invokevirtual ch.qos.logback.core.AsyncAppenderBase$Worker.isAlive:()Z
ifeq 12
8: aload 0
new java.lang.StringBuilder
dup
ldc "Max queue flush timeout ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.maxFlushTime:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " ms) exceeded. Approximately "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.blockingQueue:Ljava/util/concurrent/BlockingQueue;
invokeinterface java.util.concurrent.BlockingQueue.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
9: ldc " queued events were possibly discarded."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokevirtual ch.qos.logback.core.AsyncAppenderBase.addWarn:(Ljava/lang/String;)V
11: goto 21
12: StackMap locals: ch.qos.logback.core.util.InterruptUtil
StackMap stack:
aload 0
ldc "Queue flush finished successfully within timeout."
invokevirtual ch.qos.logback.core.AsyncAppenderBase.addInfo:(Ljava/lang/String;)V
13: goto 21
StackMap locals:
StackMap stack: java.lang.InterruptedException
14: astore 2
start local 2 15: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.blockingQueue:Ljava/util/concurrent/BlockingQueue;
invokeinterface java.util.concurrent.BlockingQueue.size:()I
istore 3
start local 3 16: aload 0
new java.lang.StringBuilder
dup
ldc "Failed to join worker thread. "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " queued events may be discarded."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual ch.qos.logback.core.AsyncAppenderBase.addError:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 end local 2 17: aload 1
invokevirtual ch.qos.logback.core.util.InterruptUtil.unmaskInterruptFlag:()V
goto 22
18: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
19: aload 1
invokevirtual ch.qos.logback.core.util.InterruptUtil.unmaskInterruptFlag:()V
20: aload 4
athrow
21: StackMap locals:
StackMap stack:
aload 1
invokevirtual ch.qos.logback.core.util.InterruptUtil.unmaskInterruptFlag:()V
22: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
5 23 1 interruptUtil Lch/qos/logback/core/util/InterruptUtil;
15 17 2 e Ljava/lang/InterruptedException;
16 17 3 remaining I
Exception table:
from to target type
5 13 14 Class java.lang.InterruptedException
5 17 18 any
protected void append();
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual ch.qos.logback.core.AsyncAppenderBase.isQueueBelowDiscardingThreshold:()Z
ifeq 2
aload 0
aload 1
invokevirtual ch.qos.logback.core.AsyncAppenderBase.isDiscardable:(Ljava/lang/Object;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual ch.qos.logback.core.AsyncAppenderBase.preprocess:(Ljava/lang/Object;)V
3: aload 0
aload 1
invokevirtual ch.qos.logback.core.AsyncAppenderBase.put:(Ljava/lang/Object;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 5 1 eventObject TE;
Signature: (TE;)V
MethodParameters:
Name Flags
eventObject
private boolean isQueueBelowDiscardingThreshold();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.blockingQueue:Ljava/util/concurrent/BlockingQueue;
invokeinterface java.util.concurrent.BlockingQueue.remainingCapacity:()I
aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.discardingThreshold:I
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
private void put();
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.neverBlock:Z
ifeq 3
1: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.blockingQueue:Ljava/util/concurrent/BlockingQueue;
aload 1
invokeinterface java.util.concurrent.BlockingQueue.offer:(Ljava/lang/Object;)Z
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual ch.qos.logback.core.AsyncAppenderBase.putUninterruptibly:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 5 1 eventObject TE;
Signature: (TE;)V
MethodParameters:
Name Flags
eventObject
private void putUninterruptibly();
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: StackMap locals: int
StackMap stack:
aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.blockingQueue:Ljava/util/concurrent/BlockingQueue;
aload 1
invokeinterface java.util.concurrent.BlockingQueue.put:(Ljava/lang/Object;)V
2: goto 10
3: StackMap locals:
StackMap stack: java.lang.InterruptedException
pop
4: iconst_1
istore 2
5: goto 1
6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
7: iload 2
ifeq 9
8: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
9: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
athrow
10: StackMap locals:
StackMap stack:
iload 2
ifeq 12
11: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 13 1 eventObject TE;
1 13 2 interrupted Z
Exception table:
from to target type
1 2 3 Class java.lang.InterruptedException
1 6 6 any
Signature: (TE;)V
MethodParameters:
Name Flags
eventObject
public int getQueueSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.queueSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
public void setQueueSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield ch.qos.logback.core.AsyncAppenderBase.queueSize:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 2 1 queueSize I
MethodParameters:
Name Flags
queueSize
public int getDiscardingThreshold();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.discardingThreshold:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
public void setDiscardingThreshold(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield ch.qos.logback.core.AsyncAppenderBase.discardingThreshold:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 2 1 discardingThreshold I
MethodParameters:
Name Flags
discardingThreshold
public int getMaxFlushTime();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.maxFlushTime:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
public void setMaxFlushTime(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield ch.qos.logback.core.AsyncAppenderBase.maxFlushTime:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 2 1 maxFlushTime I
MethodParameters:
Name Flags
maxFlushTime
public int getNumberOfElementsInQueue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.blockingQueue:Ljava/util/concurrent/BlockingQueue;
invokeinterface java.util.concurrent.BlockingQueue.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
public void setNeverBlock(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield ch.qos.logback.core.AsyncAppenderBase.neverBlock:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 2 1 neverBlock Z
MethodParameters:
Name Flags
neverBlock
public boolean isNeverBlock();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.neverBlock:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
public int getRemainingCapacity();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.blockingQueue:Ljava/util/concurrent/BlockingQueue;
invokeinterface java.util.concurrent.BlockingQueue.remainingCapacity:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
public void addAppender(ch.qos.logback.core.Appender<E>);
descriptor: (Lch/qos/logback/core/Appender;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.appenderCount:I
ifne 5
1: aload 0
dup
getfield ch.qos.logback.core.AsyncAppenderBase.appenderCount:I
iconst_1
iadd
putfield ch.qos.logback.core.AsyncAppenderBase.appenderCount:I
2: aload 0
new java.lang.StringBuilder
dup
ldc "Attaching appender named ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface ch.qos.logback.core.Appender.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] to AsyncAppender."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.core.AsyncAppenderBase.addInfo:(Ljava/lang/String;)V
3: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.aai:Lch/qos/logback/core/spi/AppenderAttachableImpl;
aload 1
invokevirtual ch.qos.logback.core.spi.AppenderAttachableImpl.addAppender:(Lch/qos/logback/core/Appender;)V
4: goto 7
5: StackMap locals:
StackMap stack:
aload 0
ldc "One and only one appender may be attached to AsyncAppender."
invokevirtual ch.qos.logback.core.AsyncAppenderBase.addWarn:(Ljava/lang/String;)V
6: aload 0
new java.lang.StringBuilder
dup
ldc "Ignoring additional appender named ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface ch.qos.logback.core.Appender.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.core.AsyncAppenderBase.addWarn:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 8 1 newAppender Lch/qos/logback/core/Appender<TE;>;
Signature: (Lch/qos/logback/core/Appender<TE;>;)V
MethodParameters:
Name Flags
newAppender
public java.util.Iterator<ch.qos.logback.core.Appender<E>> iteratorForAppenders();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.aai:Lch/qos/logback/core/spi/AppenderAttachableImpl;
invokevirtual ch.qos.logback.core.spi.AppenderAttachableImpl.iteratorForAppenders:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
Signature: ()Ljava/util/Iterator<Lch/qos/logback/core/Appender<TE;>;>;
public ch.qos.logback.core.Appender<E> getAppender(java.lang.String);
descriptor: (Ljava/lang/String;)Lch/qos/logback/core/Appender;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.aai:Lch/qos/logback/core/spi/AppenderAttachableImpl;
aload 1
invokevirtual ch.qos.logback.core.spi.AppenderAttachableImpl.getAppender:(Ljava/lang/String;)Lch/qos/logback/core/Appender;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 1 1 name Ljava/lang/String;
Signature: (Ljava/lang/String;)Lch/qos/logback/core/Appender<TE;>;
MethodParameters:
Name Flags
name
public boolean isAttached(ch.qos.logback.core.Appender<E>);
descriptor: (Lch/qos/logback/core/Appender;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.aai:Lch/qos/logback/core/spi/AppenderAttachableImpl;
aload 1
invokevirtual ch.qos.logback.core.spi.AppenderAttachableImpl.isAttached:(Lch/qos/logback/core/Appender;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 1 1 eAppender Lch/qos/logback/core/Appender<TE;>;
Signature: (Lch/qos/logback/core/Appender<TE;>;)Z
MethodParameters:
Name Flags
eAppender
public void detachAndStopAllAppenders();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.aai:Lch/qos/logback/core/spi/AppenderAttachableImpl;
invokevirtual ch.qos.logback.core.spi.AppenderAttachableImpl.detachAndStopAllAppenders:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
public boolean detachAppender(ch.qos.logback.core.Appender<E>);
descriptor: (Lch/qos/logback/core/Appender;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.aai:Lch/qos/logback/core/spi/AppenderAttachableImpl;
aload 1
invokevirtual ch.qos.logback.core.spi.AppenderAttachableImpl.detachAppender:(Lch/qos/logback/core/Appender;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 1 1 eAppender Lch/qos/logback/core/Appender<TE;>;
Signature: (Lch/qos/logback/core/Appender<TE;>;)Z
MethodParameters:
Name Flags
eAppender
public boolean detachAppender(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.core.AsyncAppenderBase.aai:Lch/qos/logback/core/spi/AppenderAttachableImpl;
aload 1
invokevirtual ch.qos.logback.core.spi.AppenderAttachableImpl.detachAppender:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/AsyncAppenderBase<TE;>;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
}
Signature: <E:Ljava/lang/Object;>Lch/qos/logback/core/UnsynchronizedAppenderBase<TE;>;Lch/qos/logback/core/spi/AppenderAttachable<TE;>;
SourceFile: "AsyncAppenderBase.java"
NestMembers:
ch.qos.logback.core.AsyncAppenderBase$Worker
InnerClasses:
Worker = ch.qos.logback.core.AsyncAppenderBase$Worker of ch.qos.logback.core.AsyncAppenderBase