public abstract class ch.qos.logback.classic.net.ReceiverBase extends ch.qos.logback.core.spi.ContextAwareBase implements ch.qos.logback.core.spi.LifeCycle
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: ch.qos.logback.classic.net.ReceiverBase
super_class: ch.qos.logback.core.spi.ContextAwareBase
{
private boolean started;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial ch.qos.logback.core.spi.ContextAwareBase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/classic/net/ReceiverBase;
public final void start();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual ch.qos.logback.classic.net.ReceiverBase.isStarted:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual ch.qos.logback.classic.net.ReceiverBase.getContext:()Lch/qos/logback/core/Context;
ifnonnull 4
3: new java.lang.IllegalStateException
dup
ldc "context not set"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual ch.qos.logback.classic.net.ReceiverBase.shouldStart:()Z
ifeq 7
5: aload 0
invokevirtual ch.qos.logback.classic.net.ReceiverBase.getContext:()Lch/qos/logback/core/Context;
invokeinterface ch.qos.logback.core.Context.getScheduledExecutorService:()Ljava/util/concurrent/ScheduledExecutorService;
aload 0
invokevirtual ch.qos.logback.classic.net.ReceiverBase.getRunnableTask:()Ljava/lang/Runnable;
invokeinterface java.util.concurrent.ScheduledExecutorService.execute:(Ljava/lang/Runnable;)V
6: aload 0
iconst_1
putfield ch.qos.logback.classic.net.ReceiverBase.started:Z
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lch/qos/logback/classic/net/ReceiverBase;
public final void stop();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual ch.qos.logback.classic.net.ReceiverBase.isStarted:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual ch.qos.logback.classic.net.ReceiverBase.onStop:()V
3: goto 6
StackMap locals:
StackMap stack: java.lang.RuntimeException
4: astore 1
start local 1 5: aload 0
new java.lang.StringBuilder
dup
ldc "on stop: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokevirtual ch.qos.logback.classic.net.ReceiverBase.addError:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 6: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield ch.qos.logback.classic.net.ReceiverBase.started:Z
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lch/qos/logback/classic/net/ReceiverBase;
5 6 1 ex Ljava/lang/RuntimeException;
Exception table:
from to target type
2 3 4 Class java.lang.RuntimeException
public final boolean isStarted();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.classic.net.ReceiverBase.started:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/classic/net/ReceiverBase;
protected abstract boolean shouldStart();
descriptor: ()Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract void onStop();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract java.lang.Runnable getRunnableTask();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
}
SourceFile: "ReceiverBase.java"