public final class org.glassfish.grizzly.Writer$Reentrant
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.Writer$Reentrant
super_class: java.lang.Object
{
private static final java.lang.ThreadLocal<org.glassfish.grizzly.Writer$Reentrant> REENTRANTS_COUNTER;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Lorg/glassfish/grizzly/Writer$Reentrant;>;
private static final int maxWriteReentrants;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private int counter;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.glassfish.grizzly.Writer$Reentrant$1
dup
invokespecial org.glassfish.grizzly.Writer$Reentrant$1.<init>:()V
putstatic org.glassfish.grizzly.Writer$Reentrant.REENTRANTS_COUNTER:Ljava/lang/ThreadLocal;
1: ldc "org.glassfish.grizzly.Writer.max-write-reentrants"
bipush 10
invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic org.glassfish.grizzly.Writer$Reentrant.maxWriteReentrants:I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/Writer$Reentrant;
public static int getMaxReentrants();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.glassfish.grizzly.Writer$Reentrant.maxWriteReentrants:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.grizzly.Writer$Reentrant getWriteReentrant();
descriptor: ()Lorg/glassfish/grizzly/Writer$Reentrant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.glassfish.grizzly.Writer$Reentrant.REENTRANTS_COUNTER:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.Writer$Reentrant
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lorg/glassfish/grizzly/Writer$Reentrant;
public int get();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.Writer$Reentrant.counter:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/Writer$Reentrant;
public boolean inc();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield org.glassfish.grizzly.Writer$Reentrant.counter:I
iconst_1
iadd
dup_x1
putfield org.glassfish.grizzly.Writer$Reentrant.counter:I
getstatic org.glassfish.grizzly.Writer$Reentrant.maxWriteReentrants:I
if_icmpgt 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/glassfish/grizzly/Writer$Reentrant;
public boolean dec();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield org.glassfish.grizzly.Writer$Reentrant.counter:I
iconst_1
isub
dup_x1
putfield org.glassfish.grizzly.Writer$Reentrant.counter:I
getstatic org.glassfish.grizzly.Writer$Reentrant.maxWriteReentrants:I
if_icmpgt 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/glassfish/grizzly/Writer$Reentrant;
public boolean isMaxReentrantsReached();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.Writer$Reentrant.get:()I
invokestatic org.glassfish.grizzly.Writer$Reentrant.getMaxReentrants:()I
if_icmplt 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/glassfish/grizzly/Writer$Reentrant;
}
SourceFile: "Writer.java"
NestHost: org.glassfish.grizzly.Writer
InnerClasses:
public final Reentrant = org.glassfish.grizzly.Writer$Reentrant of org.glassfish.grizzly.Writer
org.glassfish.grizzly.Writer$Reentrant$1