final class org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap$StaticMapAccessor
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap$StaticMapAccessor
super_class: java.lang.Object
{
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/nio/NIOConnection$ProcessorStatesMap$StaticMapAccessor;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
ldc "Map is going to be used as Connection<->ProcessorState storage"
invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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/nio/NIOConnection$ProcessorStatesMap$StaticMapAccessor;
private static <E> getFromMap(org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap, org.glassfish.grizzly.Processor, org.glassfish.grizzly.utils.NullaryFunction<E>);
descriptor: (Lorg/glassfish/grizzly/nio/NIOConnection$ProcessorStatesMap;Lorg/glassfish/grizzly/Processor;Lorg/glassfish/grizzly/utils/NullaryFunction;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap.processorStatesMap:Ljava/util/concurrent/ConcurrentMap;
astore 3
start local 3 1: aload 3
ifnull 5
2: aload 0
getfield org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap.processorStatesMap:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 3: aload 4
ifnull 5
4: aload 4
areturn
end local 4 5: StackMap locals: java.util.Map
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap.getStateSync:(Lorg/glassfish/grizzly/Processor;Lorg/glassfish/grizzly/utils/NullaryFunction;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 storage Lorg/glassfish/grizzly/nio/NIOConnection$ProcessorStatesMap;
0 6 1 processor Lorg/glassfish/grizzly/Processor;
0 6 2 stateFactory Lorg/glassfish/grizzly/utils/NullaryFunction<TE;>;
1 6 3 localStateMap Ljava/util/Map<Lorg/glassfish/grizzly/Processor;Ljava/lang/Object;>;
3 5 4 state Ljava/lang/Object;
Signature: <E:Ljava/lang/Object;>(Lorg/glassfish/grizzly/nio/NIOConnection$ProcessorStatesMap;Lorg/glassfish/grizzly/Processor;Lorg/glassfish/grizzly/utils/NullaryFunction<TE;>;)Ljava/lang/Object;
MethodParameters:
Name Flags
storage final
processor final
stateFactory final
private static <E> getFromMapSync(org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap, org.glassfish.grizzly.Processor, org.glassfish.grizzly.utils.NullaryFunction<E>);
descriptor: (Lorg/glassfish/grizzly/nio/NIOConnection$ProcessorStatesMap;Lorg/glassfish/grizzly/Processor;Lorg/glassfish/grizzly/utils/NullaryFunction;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap.processorStatesMap:Ljava/util/concurrent/ConcurrentMap;
astore 3
start local 3 1: aload 3
ifnull 7
2: aload 3
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.containsKey:(Ljava/lang/Object;)Z
ifeq 4
3: aload 3
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
4: StackMap locals: java.util.concurrent.ConcurrentMap
StackMap stack:
aload 2
invokeinterface org.glassfish.grizzly.utils.NullaryFunction.evaluate:()Ljava/lang/Object;
astore 4
start local 4 5: aload 3
aload 1
aload 4
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 4
areturn
end local 4 7: StackMap locals:
StackMap stack:
new java.util.concurrent.ConcurrentHashMap
dup
iconst_4
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
astore 3
8: aload 2
invokeinterface org.glassfish.grizzly.utils.NullaryFunction.evaluate:()Ljava/lang/Object;
astore 4
start local 4 9: aload 3
aload 1
aload 4
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
aload 3
putfield org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap.processorStatesMap:Ljava/util/concurrent/ConcurrentMap;
11: aload 0
dup
getfield org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap.volatileFlag:I
iconst_1
iadd
putfield org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap.volatileFlag:I
12: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 storage Lorg/glassfish/grizzly/nio/NIOConnection$ProcessorStatesMap;
0 13 1 processor Lorg/glassfish/grizzly/Processor;
0 13 2 stateFactory Lorg/glassfish/grizzly/utils/NullaryFunction<TE;>;
1 13 3 localStatesMap Ljava/util/concurrent/ConcurrentMap<Lorg/glassfish/grizzly/Processor;Ljava/lang/Object;>;
5 7 4 state Ljava/lang/Object;
9 13 4 state Ljava/lang/Object;
Signature: <E:Ljava/lang/Object;>(Lorg/glassfish/grizzly/nio/NIOConnection$ProcessorStatesMap;Lorg/glassfish/grizzly/Processor;Lorg/glassfish/grizzly/utils/NullaryFunction<TE;>;)Ljava/lang/Object;
MethodParameters:
Name Flags
storage final
processor final
stateFactory final
}
SourceFile: "NIOConnection.java"
NestHost: org.glassfish.grizzly.nio.NIOConnection
InnerClasses:
private final ProcessorStatesMap = org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap of org.glassfish.grizzly.nio.NIOConnection
private final StaticMapAccessor = org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap$StaticMapAccessor of org.glassfish.grizzly.nio.NIOConnection$ProcessorStatesMap