public final class org.glassfish.grizzly.http.server.SuspendStatus
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.http.server.SuspendStatus
super_class: java.lang.Object
{
private static final org.glassfish.grizzly.ThreadCache$CachedTypeIndex<org.glassfish.grizzly.http.server.SuspendStatus> CACHE_IDX;
descriptor: Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<Lorg/glassfish/grizzly/http/server/SuspendStatus;>;
private org.glassfish.grizzly.http.server.SuspendStatus$State state;
descriptor: Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
flags: (0x0002) ACC_PRIVATE
private final java.lang.Thread initThread;
descriptor: Ljava/lang/Thread;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/http/server/SuspendStatus;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.glassfish.grizzly.http.server.SuspendStatus.$assertionsDisabled:Z
3: ldc Lorg/glassfish/grizzly/http/server/SuspendStatus;
iconst_4
invokestatic org.glassfish.grizzly.ThreadCache.obtainIndex:(Ljava/lang/Class;I)Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
putstatic org.glassfish.grizzly.http.server.SuspendStatus.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.grizzly.http.server.SuspendStatus create();
descriptor: ()Lorg/glassfish/grizzly/http/server/SuspendStatus;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic org.glassfish.grizzly.http.server.SuspendStatus.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
invokestatic org.glassfish.grizzly.ThreadCache.takeFromCache:(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.SuspendStatus
astore 0
start local 0 1: aload 0
ifnonnull 3
2: new org.glassfish.grizzly.http.server.SuspendStatus
dup
invokespecial org.glassfish.grizzly.http.server.SuspendStatus.<init>:()V
astore 0
3: StackMap locals: org.glassfish.grizzly.http.server.SuspendStatus
StackMap stack:
getstatic org.glassfish.grizzly.http.server.SuspendStatus.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.glassfish.grizzly.http.server.SuspendStatus.initThread:Ljava/lang/Thread;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getstatic org.glassfish.grizzly.http.server.SuspendStatus$State.NOT_SUSPENDED:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
putfield org.glassfish.grizzly.http.server.SuspendStatus.state:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
5: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 status Lorg/glassfish/grizzly/http/server/SuspendStatus;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
putfield org.glassfish.grizzly.http.server.SuspendStatus.initThread:Ljava/lang/Thread;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/SuspendStatus;
public void suspend();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.http.server.SuspendStatus.$assertionsDisabled:Z
ifne 1
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
getfield org.glassfish.grizzly.http.server.SuspendStatus.initThread:Ljava/lang/Thread;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.SuspendStatus.state:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
getstatic org.glassfish.grizzly.http.server.SuspendStatus$State.NOT_SUSPENDED:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
if_acmpeq 3
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Can not suspend. Expected suspend state='"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.glassfish.grizzly.http.server.SuspendStatus$State.NOT_SUSPENDED:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' but was '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.http.server.SuspendStatus.state:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getstatic org.glassfish.grizzly.http.server.SuspendStatus$State.SUSPENDED:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
putfield org.glassfish.grizzly.http.server.SuspendStatus.state:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/SuspendStatus;
boolean getAndInvalidate();
descriptor: ()Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.http.server.SuspendStatus.$assertionsDisabled:Z
ifne 1
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
getfield org.glassfish.grizzly.http.server.SuspendStatus.initThread:Ljava/lang/Thread;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.SuspendStatus.state:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
getstatic org.glassfish.grizzly.http.server.SuspendStatus$State.SUSPENDED:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
if_acmpne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 1
start local 1 4: aload 0
getstatic org.glassfish.grizzly.http.server.SuspendStatus$State.INVALIDATED:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
putfield org.glassfish.grizzly.http.server.SuspendStatus.state:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
5: aload 0
getfield org.glassfish.grizzly.http.server.SuspendStatus.initThread:Ljava/lang/Thread;
getstatic org.glassfish.grizzly.http.server.SuspendStatus.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
aload 0
invokestatic org.glassfish.grizzly.ThreadCache.putToCache:(Ljava/lang/Thread;Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;Ljava/lang/Object;)Z
pop
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/SuspendStatus;
4 7 1 wasSuspended Z
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.http.server.SuspendStatus.$assertionsDisabled:Z
ifne 1
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 0
getfield org.glassfish.grizzly.http.server.SuspendStatus.initThread:Ljava/lang/Thread;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getstatic org.glassfish.grizzly.http.server.SuspendStatus$State.NOT_SUSPENDED:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
putfield org.glassfish.grizzly.http.server.SuspendStatus.state:Lorg/glassfish/grizzly/http/server/SuspendStatus$State;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/SuspendStatus;
}
SourceFile: "SuspendStatus.java"
NestMembers:
org.glassfish.grizzly.http.server.SuspendStatus$State
InnerClasses:
public final CachedTypeIndex = org.glassfish.grizzly.ThreadCache$CachedTypeIndex of org.glassfish.grizzly.ThreadCache
private final State = org.glassfish.grizzly.http.server.SuspendStatus$State of org.glassfish.grizzly.http.server.SuspendStatus