public abstract class ch.qos.logback.core.sift.SiftingAppenderBase<E> extends ch.qos.logback.core.AppenderBase<E>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: ch.qos.logback.core.sift.SiftingAppenderBase
super_class: ch.qos.logback.core.AppenderBase
{
protected ch.qos.logback.core.sift.AppenderTracker<E> appenderTracker;
descriptor: Lch/qos/logback/core/sift/AppenderTracker;
flags: (0x0004) ACC_PROTECTED
Signature: Lch/qos/logback/core/sift/AppenderTracker<TE;>;
ch.qos.logback.core.sift.AppenderFactory<E> appenderFactory;
descriptor: Lch/qos/logback/core/sift/AppenderFactory;
flags: (0x0000)
Signature: Lch/qos/logback/core/sift/AppenderFactory<TE;>;
ch.qos.logback.core.util.Duration timeout;
descriptor: Lch/qos/logback/core/util/Duration;
flags: (0x0000)
int maxAppenderCount;
descriptor: I
flags: (0x0000)
ch.qos.logback.core.sift.Discriminator<E> discriminator;
descriptor: Lch/qos/logback/core/sift/Discriminator;
flags: (0x0000)
Signature: Lch/qos/logback/core/sift/Discriminator<TE;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial ch.qos.logback.core.AppenderBase.<init>:()V
1: aload 0
new ch.qos.logback.core.util.Duration
dup
ldc 1800000
invokespecial ch.qos.logback.core.util.Duration.<init>:(J)V
putfield ch.qos.logback.core.sift.SiftingAppenderBase.timeout:Lch/qos/logback/core/util/Duration;
2: aload 0
ldc 2147483647
putfield ch.qos.logback.core.sift.SiftingAppenderBase.maxAppenderCount:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lch/qos/logback/core/sift/SiftingAppenderBase<TE;>;
public ch.qos.logback.core.util.Duration getTimeout();
descriptor: ()Lch/qos/logback/core/util/Duration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.timeout:Lch/qos/logback/core/util/Duration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/sift/SiftingAppenderBase<TE;>;
public void setTimeout(ch.qos.logback.core.util.Duration);
descriptor: (Lch/qos/logback/core/util/Duration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield ch.qos.logback.core.sift.SiftingAppenderBase.timeout:Lch/qos/logback/core/util/Duration;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/sift/SiftingAppenderBase<TE;>;
0 2 1 timeout Lch/qos/logback/core/util/Duration;
MethodParameters:
Name Flags
timeout
public int getMaxAppenderCount();
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.sift.SiftingAppenderBase.maxAppenderCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/sift/SiftingAppenderBase<TE;>;
public void setMaxAppenderCount(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.sift.SiftingAppenderBase.maxAppenderCount:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/sift/SiftingAppenderBase<TE;>;
0 2 1 maxAppenderCount I
MethodParameters:
Name Flags
maxAppenderCount
public void setAppenderFactory(ch.qos.logback.core.sift.AppenderFactory<E>);
descriptor: (Lch/qos/logback/core/sift/AppenderFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield ch.qos.logback.core.sift.SiftingAppenderBase.appenderFactory:Lch/qos/logback/core/sift/AppenderFactory;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/sift/SiftingAppenderBase<TE;>;
0 2 1 appenderFactory Lch/qos/logback/core/sift/AppenderFactory<TE;>;
Signature: (Lch/qos/logback/core/sift/AppenderFactory<TE;>;)V
MethodParameters:
Name Flags
appenderFactory
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.discriminator:Lch/qos/logback/core/sift/Discriminator;
ifnonnull 4
2: aload 0
ldc "Missing discriminator. Aborting"
invokevirtual ch.qos.logback.core.sift.SiftingAppenderBase.addError:(Ljava/lang/String;)V
3: iinc 1 1
4: StackMap locals: int
StackMap stack:
aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.discriminator:Lch/qos/logback/core/sift/Discriminator;
invokeinterface ch.qos.logback.core.sift.Discriminator.isStarted:()Z
ifne 7
5: aload 0
ldc "Discriminator has not started successfully. Aborting"
invokevirtual ch.qos.logback.core.sift.SiftingAppenderBase.addError:(Ljava/lang/String;)V
6: iinc 1 1
7: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.appenderFactory:Lch/qos/logback/core/sift/AppenderFactory;
ifnonnull 11
8: aload 0
ldc "AppenderFactory has not been set. Aborting"
invokevirtual ch.qos.logback.core.sift.SiftingAppenderBase.addError:(Ljava/lang/String;)V
9: iinc 1 1
10: goto 14
11: StackMap locals:
StackMap stack:
aload 0
new ch.qos.logback.core.sift.AppenderTracker
dup
aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.context:Lch/qos/logback/core/Context;
aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.appenderFactory:Lch/qos/logback/core/sift/AppenderFactory;
invokespecial ch.qos.logback.core.sift.AppenderTracker.<init>:(Lch/qos/logback/core/Context;Lch/qos/logback/core/sift/AppenderFactory;)V
putfield ch.qos.logback.core.sift.SiftingAppenderBase.appenderTracker:Lch/qos/logback/core/sift/AppenderTracker;
12: aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.appenderTracker:Lch/qos/logback/core/sift/AppenderTracker;
aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.maxAppenderCount:I
invokevirtual ch.qos.logback.core.sift.AppenderTracker.setMaxComponents:(I)V
13: aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.appenderTracker:Lch/qos/logback/core/sift/AppenderTracker;
aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.timeout:Lch/qos/logback/core/util/Duration;
invokevirtual ch.qos.logback.core.util.Duration.getMilliseconds:()J
invokevirtual ch.qos.logback.core.sift.AppenderTracker.setTimeout:(J)V
14: StackMap locals:
StackMap stack:
iload 1
ifne 16
15: aload 0
invokespecial ch.qos.logback.core.AppenderBase.start:()V
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lch/qos/logback/core/sift/SiftingAppenderBase<TE;>;
1 17 1 errors I
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.appenderTracker:Lch/qos/logback/core/sift/AppenderTracker;
invokevirtual ch.qos.logback.core.sift.AppenderTracker.allComponents:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: ch.qos.logback.core.sift.SiftingAppenderBase top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast ch.qos.logback.core.Appender
astore 1
start local 1 2: aload 1
invokeinterface ch.qos.logback.core.Appender.stop:()V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lch/qos/logback/core/sift/SiftingAppenderBase<TE;>;
2 3 1 appender Lch/qos/logback/core/Appender<TE;>;
protected abstract long getTimestamp();
descriptor: (Ljava/lang/Object;)J
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TE;)J
MethodParameters:
Name Flags
event
protected void append();
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual ch.qos.logback.core.sift.SiftingAppenderBase.isStarted:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.discriminator:Lch/qos/logback/core/sift/Discriminator;
aload 1
invokeinterface ch.qos.logback.core.sift.Discriminator.getDiscriminatingValue:(Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 3: aload 0
aload 1
invokevirtual ch.qos.logback.core.sift.SiftingAppenderBase.getTimestamp:(Ljava/lang/Object;)J
lstore 3
start local 3 4: aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.appenderTracker:Lch/qos/logback/core/sift/AppenderTracker;
aload 2
lload 3
invokevirtual ch.qos.logback.core.sift.AppenderTracker.getOrCreate:(Ljava/lang/String;J)Ljava/lang/Object;
checkcast ch.qos.logback.core.Appender
astore 5
start local 5 5: aload 0
aload 1
invokevirtual ch.qos.logback.core.sift.SiftingAppenderBase.eventMarksEndOfLife:(Ljava/lang/Object;)Z
ifeq 7
6: aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.appenderTracker:Lch/qos/logback/core/sift/AppenderTracker;
aload 2
invokevirtual ch.qos.logback.core.sift.AppenderTracker.endOfLife:(Ljava/lang/String;)V
7: StackMap locals: java.lang.String long ch.qos.logback.core.Appender
StackMap stack:
aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.appenderTracker:Lch/qos/logback/core/sift/AppenderTracker;
lload 3
invokevirtual ch.qos.logback.core.sift.AppenderTracker.removeStaleComponents:(J)V
8: aload 5
aload 1
invokeinterface ch.qos.logback.core.Appender.doAppend:(Ljava/lang/Object;)V
9: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lch/qos/logback/core/sift/SiftingAppenderBase<TE;>;
0 10 1 event TE;
3 10 2 discriminatingValue Ljava/lang/String;
4 10 3 timestamp J
5 10 5 appender Lch/qos/logback/core/Appender<TE;>;
Signature: (TE;)V
MethodParameters:
Name Flags
event
protected abstract boolean eventMarksEndOfLife();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TE;)Z
MethodParameters:
Name Flags
event
public ch.qos.logback.core.sift.Discriminator<E> getDiscriminator();
descriptor: ()Lch/qos/logback/core/sift/Discriminator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.discriminator:Lch/qos/logback/core/sift/Discriminator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/sift/SiftingAppenderBase<TE;>;
Signature: ()Lch/qos/logback/core/sift/Discriminator<TE;>;
public void setDiscriminator(ch.qos.logback.core.sift.Discriminator<E>);
descriptor: (Lch/qos/logback/core/sift/Discriminator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield ch.qos.logback.core.sift.SiftingAppenderBase.discriminator:Lch/qos/logback/core/sift/Discriminator;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/sift/SiftingAppenderBase<TE;>;
0 2 1 discriminator Lch/qos/logback/core/sift/Discriminator<TE;>;
Signature: (Lch/qos/logback/core/sift/Discriminator<TE;>;)V
MethodParameters:
Name Flags
discriminator
public ch.qos.logback.core.sift.AppenderTracker<E> getAppenderTracker();
descriptor: ()Lch/qos/logback/core/sift/AppenderTracker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.appenderTracker:Lch/qos/logback/core/sift/AppenderTracker;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/core/sift/SiftingAppenderBase<TE;>;
Signature: ()Lch/qos/logback/core/sift/AppenderTracker<TE;>;
public java.lang.String getDiscriminatorKey();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.discriminator:Lch/qos/logback/core/sift/Discriminator;
ifnull 2
1: aload 0
getfield ch.qos.logback.core.sift.SiftingAppenderBase.discriminator:Lch/qos/logback/core/sift/Discriminator;
invokeinterface ch.qos.logback.core.sift.Discriminator.getKey:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/core/sift/SiftingAppenderBase<TE;>;
}
Signature: <E:Ljava/lang/Object;>Lch/qos/logback/core/AppenderBase<TE;>;
SourceFile: "SiftingAppenderBase.java"