public abstract class org.eclipse.jetty.util.component.AbstractLifeCycle implements org.eclipse.jetty.util.component.LifeCycle
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.eclipse.jetty.util.component.AbstractLifeCycle
super_class: java.lang.Object
{
private static final org.eclipse.jetty.util.log.Logger LOG;
descriptor: Lorg/eclipse/jetty/util/log/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String STOPPED;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "STOPPED"
public static final java.lang.String FAILED;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "FAILED"
public static final java.lang.String STARTING;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "STARTING"
public static final java.lang.String STARTED;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "STARTED"
public static final java.lang.String STOPPING;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "STOPPING"
public static final java.lang.String RUNNING;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "RUNNING"
private final java.util.concurrent.CopyOnWriteArrayList<org.eclipse.jetty.util.component.LifeCycle$Listener> _listeners;
descriptor: Ljava/util/concurrent/CopyOnWriteArrayList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/CopyOnWriteArrayList<Lorg/eclipse/jetty/util/component/LifeCycle$Listener;>;
private final java.lang.Object _lock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int STATE_FAILED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private static final int STATE_STOPPED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int STATE_STARTING;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int STATE_STARTED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int STATE_STOPPING;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private volatile int _state;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private long _stopTimeout;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/eclipse/jetty/util/log/Logger;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._listeners:Ljava/util/concurrent/CopyOnWriteArrayList;
2: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._lock:Ljava/lang/Object;
3: aload 0
iconst_0
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
4: aload 0
ldc 30000
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._stopTimeout:J
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
protected void doStart();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
Exceptions:
throws java.lang.Exception
protected void doStop();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
Exceptions:
throws java.lang.Exception
public final void start();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
iconst_2
if_icmpeq 2
aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
iconst_1
if_icmpne 4
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setStarting:()V
5: aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.doStart:()V
6: aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setStarted:()V
7: goto 11
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 9: aload 0
aload 2
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed:(Ljava/lang/Throwable;)V
10: aload 2
athrow
end local 2 11: StackMap locals:
StackMap stack:
aload 1
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 1
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
9 11 2 e Ljava/lang/Throwable;
Exception table:
from to target type
1 2 8 Class java.lang.Throwable
4 7 8 Class java.lang.Throwable
1 3 13 any
4 12 13 any
13 14 13 any
Exceptions:
throws java.lang.Exception
public final void stop();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
iconst_3
if_icmpeq 2
aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
ifne 4
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setStopping:()V
5: aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.doStop:()V
6: aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setStopped:()V
7: goto 11
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 9: aload 0
aload 2
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed:(Ljava/lang/Throwable;)V
10: aload 2
athrow
end local 2 11: StackMap locals:
StackMap stack:
aload 1
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 1
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
9 11 2 e Ljava/lang/Throwable;
Exception table:
from to target type
1 2 8 Class java.lang.Throwable
4 7 8 Class java.lang.Throwable
1 3 13 any
4 12 13 any
13 14 13 any
Exceptions:
throws java.lang.Exception
public boolean isRunning();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
istore 1
start local 1 1: iload 1
iconst_2
if_icmpeq 2
iload 1
iconst_1
if_icmpeq 2
iconst_0
ireturn
StackMap locals: int
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
1 3 1 state I
public boolean isStarted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
iconst_2
if_icmpne 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 Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
public boolean isStarting();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
iconst_1
if_icmpne 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 Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
public boolean isStopping();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
iconst_3
if_icmpne 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 Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
public boolean isStopped();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
ifne 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 Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
public boolean isFailed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
iconst_m1
if_icmpne 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 Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
public void addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle$Listener);
descriptor: (Lorg/eclipse/jetty/util/component/LifeCycle$Listener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._listeners:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
0 2 1 listener Lorg/eclipse/jetty/util/component/LifeCycle$Listener;
MethodParameters:
Name Flags
listener
public void removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle$Listener);
descriptor: (Lorg/eclipse/jetty/util/component/LifeCycle$Listener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._listeners:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.remove:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
0 2 1 listener Lorg/eclipse/jetty/util/component/LifeCycle$Listener;
MethodParameters:
Name Flags
listener
public java.lang.String getState();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
tableswitch { // -1 - 3
-1: 1
0: 5
1: 2
2: 3
3: 4
default: 6
}
1: StackMap locals:
StackMap stack:
ldc "FAILED"
areturn
2: StackMap locals:
StackMap stack:
ldc "STARTING"
areturn
3: StackMap locals:
StackMap stack:
ldc "STARTED"
areturn
4: StackMap locals:
StackMap stack:
ldc "STOPPING"
areturn
5: StackMap locals:
StackMap stack:
ldc "STOPPED"
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "Lifecycle State for this instance", readonly = true)
public static java.lang.String getState(org.eclipse.jetty.util.component.LifeCycle);
descriptor: (Lorg/eclipse/jetty/util/component/LifeCycle;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle.isStarting:()Z
ifeq 2
1: ldc "STARTING"
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle.isStarted:()Z
ifeq 4
3: ldc "STARTED"
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle.isStopping:()Z
ifeq 6
5: ldc "STOPPING"
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle.isStopped:()Z
ifeq 8
7: ldc "STOPPED"
areturn
8: StackMap locals:
StackMap stack:
ldc "FAILED"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 lc Lorg/eclipse/jetty/util/component/LifeCycle;
MethodParameters:
Name Flags
lc
private void setStarted();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
iconst_2
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
1: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "STARTED @{}ms {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
invokestatic org.eclipse.jetty.util.Uptime.getUptime:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._listeners:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.component.LifeCycle$Listener
astore 1
start local 1 5: aload 1
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle$Listener.lifeCycleStarted:(Lorg/eclipse/jetty/util/component/LifeCycle;)V
end local 1 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
5 6 1 listener Lorg/eclipse/jetty/util/component/LifeCycle$Listener;
private void setStarting();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=1
start local 0 0: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "starting {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
3: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._listeners:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.component.LifeCycle$Listener
astore 1
start local 1 5: aload 1
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle$Listener.lifeCycleStarting:(Lorg/eclipse/jetty/util/component/LifeCycle;)V
end local 1 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
5 6 1 listener Lorg/eclipse/jetty/util/component/LifeCycle$Listener;
private void setStopping();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=1
start local 0 0: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "stopping {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
iconst_3
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
3: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._listeners:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.component.LifeCycle$Listener
astore 1
start local 1 5: aload 1
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle$Listener.lifeCycleStopping:(Lorg/eclipse/jetty/util/component/LifeCycle;)V
end local 1 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
5 6 1 listener Lorg/eclipse/jetty/util/component/LifeCycle$Listener;
private void setStopped();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
1: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "STOPPED"
aastore
dup
iconst_1
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._listeners:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.component.LifeCycle$Listener
astore 1
start local 1 5: aload 1
aload 0
invokeinterface org.eclipse.jetty.util.component.LifeCycle$Listener.lifeCycleStopped:(Lorg/eclipse/jetty/util/component/LifeCycle;)V
end local 1 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
5 6 1 listener Lorg/eclipse/jetty/util/component/LifeCycle$Listener;
private void setFailed(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iconst_m1
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._state:I
1: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.util.component.AbstractLifeCycle.LOG:Lorg/eclipse/jetty/util/log/Logger;
new java.lang.StringBuilder
dup
ldc "FAILED "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._listeners:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.eclipse.jetty.util.component.AbstractLifeCycle java.lang.Throwable top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.component.LifeCycle$Listener
astore 2
start local 2 5: aload 2
aload 0
aload 1
invokeinterface org.eclipse.jetty.util.component.LifeCycle$Listener.lifeCycleFailure:(Lorg/eclipse/jetty/util/component/LifeCycle;Ljava/lang/Throwable;)V
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
0 8 1 th Ljava/lang/Throwable;
5 6 2 listener Lorg/eclipse/jetty/util/component/LifeCycle$Listener;
MethodParameters:
Name Flags
th
public long getStopTimeout();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.component.AbstractLifeCycle._stopTimeout:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "The stop timeout in milliseconds")
public void setStopTimeout(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.eclipse.jetty.util.component.AbstractLifeCycle._stopTimeout:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
0 2 1 stopTimeout J
MethodParameters:
Name Flags
stopTimeout
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokevirtual java.lang.String.length:()I
ifne 6
StackMap locals: java.lang.Class java.lang.String
StackMap stack:
3: aload 1
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
ifnull 6
4: aload 1
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 1
5: aload 1
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
astore 2
6: StackMap locals:
StackMap stack:
ldc "%s@%x{%s}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
invokevirtual org.eclipse.jetty.util.component.AbstractLifeCycle.getState:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/component/AbstractLifeCycle;
1 7 1 clazz Ljava/lang/Class<*>;
2 7 2 name Ljava/lang/String;
}
SourceFile: "AbstractLifeCycle.java"
NestMembers:
org.eclipse.jetty.util.component.AbstractLifeCycle$AbstractLifeCycleListener
InnerClasses:
public abstract AbstractLifeCycleListener = org.eclipse.jetty.util.component.AbstractLifeCycle$AbstractLifeCycleListener of org.eclipse.jetty.util.component.AbstractLifeCycle
public abstract Listener = org.eclipse.jetty.util.component.LifeCycle$Listener of org.eclipse.jetty.util.component.LifeCycle
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedObject(value = "Abstract Implementation of LifeCycle")