public class org.glassfish.grizzly.comet.DefaultNotificationHandler implements org.glassfish.grizzly.comet.NotificationHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.comet.DefaultNotificationHandler
super_class: java.lang.Object
{
private static final java.util.logging.Logger logger;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.IllegalStateException ISEempty;
descriptor: Ljava/lang/IllegalStateException;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected java.util.concurrent.ExecutorService threadPool;
descriptor: Ljava/util/concurrent/ExecutorService;
flags: (0x0004) ACC_PROTECTED
private static volatile int[] $SWITCH_TABLE$org$glassfish$grizzly$comet$CometEvent$Type;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/comet/DefaultNotificationHandler;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.comet.DefaultNotificationHandler.logger:Ljava/util/logging/Logger;
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
putstatic org.glassfish.grizzly.comet.DefaultNotificationHandler.ISEempty:Ljava/lang/IllegalStateException;
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/comet/DefaultNotificationHandler;
protected void setThreadPool(java.util.concurrent.ExecutorService);
descriptor: (Ljava/util/concurrent/ExecutorService;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.comet.DefaultNotificationHandler.threadPool:Ljava/util/concurrent/ExecutorService;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/comet/DefaultNotificationHandler;
0 2 1 threadPool Ljava/util/concurrent/ExecutorService;
MethodParameters:
Name Flags
threadPool
public void notify(org.glassfish.grizzly.comet.CometEvent, java.util.Iterator<org.glassfish.grizzly.comet.CometHandler>);
descriptor: (Lorg/glassfish/grizzly/comet/CometEvent;Ljava/util/Iterator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.comet.CometHandler
invokevirtual org.glassfish.grizzly.comet.DefaultNotificationHandler.notify:(Lorg/glassfish/grizzly/comet/CometEvent;Lorg/glassfish/grizzly/comet/CometHandler;)V
2: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/comet/DefaultNotificationHandler;
0 4 1 cometEvent Lorg/glassfish/grizzly/comet/CometEvent;
0 4 2 iteratorHandlers Ljava/util/Iterator<Lorg/glassfish/grizzly/comet/CometHandler;>;
Exceptions:
throws java.io.IOException
Signature: (Lorg/glassfish/grizzly/comet/CometEvent;Ljava/util/Iterator<Lorg/glassfish/grizzly/comet/CometHandler;>;)V
MethodParameters:
Name Flags
cometEvent final
iteratorHandlers final
public void notify(org.glassfish.grizzly.comet.CometEvent, org.glassfish.grizzly.comet.CometHandler);
descriptor: (Lorg/glassfish/grizzly/comet/CometEvent;Lorg/glassfish/grizzly/comet/CometHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.glassfish.grizzly.comet.DefaultNotificationHandler.notify0:(Lorg/glassfish/grizzly/comet/CometEvent;Lorg/glassfish/grizzly/comet/CometHandler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/comet/DefaultNotificationHandler;
0 2 1 cometEvent Lorg/glassfish/grizzly/comet/CometEvent;
0 2 2 cometHandler Lorg/glassfish/grizzly/comet/CometHandler;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cometEvent final
cometHandler final
protected void notify0(org.glassfish.grizzly.comet.CometEvent, org.glassfish.grizzly.comet.CometHandler);
descriptor: (Lorg/glassfish/grizzly/comet/CometEvent;Lorg/glassfish/grizzly/comet/CometHandler;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.glassfish.grizzly.comet.DefaultNotificationHandler.$SWITCH_TABLE$org$glassfish$grizzly$comet$CometEvent$Type:()[I
aload 1
invokevirtual org.glassfish.grizzly.comet.CometEvent.getType:()Lorg/glassfish/grizzly/comet/CometEvent$Type;
invokevirtual org.glassfish.grizzly.comet.CometEvent$Type.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 1
2: 3
3: 6
4: 8
5: 3
6: 3
default: 10
}
1: StackMap locals:
StackMap stack:
aload 2
aload 1
invokeinterface org.glassfish.grizzly.comet.CometHandler.onInterrupt:(Lorg/glassfish/grizzly/comet/CometEvent;)V
2: goto 17
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.comet.CometEvent.getCometContext:()Lorg/glassfish/grizzly/comet/CometContext;
aload 2
invokevirtual org.glassfish.grizzly.comet.CometContext.isActive:(Lorg/glassfish/grizzly/comet/CometHandler;)Z
ifeq 17
4: aload 2
aload 1
invokeinterface org.glassfish.grizzly.comet.CometHandler.onEvent:(Lorg/glassfish/grizzly/comet/CometEvent;)V
5: goto 17
6: StackMap locals:
StackMap stack:
aload 2
aload 1
invokeinterface org.glassfish.grizzly.comet.CometHandler.onInitialize:(Lorg/glassfish/grizzly/comet/CometEvent;)V
7: goto 17
8: StackMap locals:
StackMap stack:
aload 2
aload 1
invokeinterface org.glassfish.grizzly.comet.CometHandler.onTerminate:(Lorg/glassfish/grizzly/comet/CometEvent;)V
9: goto 17
10: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.comet.DefaultNotificationHandler.ISEempty:Ljava/lang/IllegalStateException;
athrow
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 12: getstatic org.glassfish.grizzly.comet.DefaultNotificationHandler.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Notification failed: "
aload 3
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
13: aload 1
invokevirtual org.glassfish.grizzly.comet.CometEvent.getCometContext:()Lorg/glassfish/grizzly/comet/CometContext;
aload 2
invokevirtual org.glassfish.grizzly.comet.CometContext.resumeCometHandler:(Lorg/glassfish/grizzly/comet/CometHandler;)Z
pop
14: goto 17
StackMap locals: org.glassfish.grizzly.comet.DefaultNotificationHandler org.glassfish.grizzly.comet.CometEvent org.glassfish.grizzly.comet.CometHandler java.lang.Throwable
StackMap stack: java.lang.Throwable
15: astore 4
start local 4 16: getstatic org.glassfish.grizzly.comet.DefaultNotificationHandler.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Resume phase failed: "
aload 4
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 end local 3 17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/glassfish/grizzly/comet/DefaultNotificationHandler;
0 18 1 cometEvent Lorg/glassfish/grizzly/comet/CometEvent;
0 18 2 cometHandler Lorg/glassfish/grizzly/comet/CometHandler;
12 17 3 ex Ljava/lang/Throwable;
16 17 4 t Ljava/lang/Throwable;
Exception table:
from to target type
0 11 11 Class java.lang.Throwable
13 14 15 Class java.lang.Throwable
MethodParameters:
Name Flags
cometEvent
cometHandler
static int[] $SWITCH_TABLE$org$glassfish$grizzly$comet$CometEvent$Type();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.glassfish.grizzly.comet.DefaultNotificationHandler.$SWITCH_TABLE$org$glassfish$grizzly$comet$CometEvent$Type:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.glassfish.grizzly.comet.CometEvent$Type.values:()[Lorg/glassfish/grizzly/comet/CometEvent$Type;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.glassfish.grizzly.comet.CometEvent$Type.INITIALIZE:Lorg/glassfish/grizzly/comet/CometEvent$Type;
invokevirtual org.glassfish.grizzly.comet.CometEvent$Type.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.glassfish.grizzly.comet.CometEvent$Type.INTERRUPT:Lorg/glassfish/grizzly/comet/CometEvent$Type;
invokevirtual org.glassfish.grizzly.comet.CometEvent$Type.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.glassfish.grizzly.comet.CometEvent$Type.NOTIFY:Lorg/glassfish/grizzly/comet/CometEvent$Type;
invokevirtual org.glassfish.grizzly.comet.CometEvent$Type.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.glassfish.grizzly.comet.CometEvent$Type.READ:Lorg/glassfish/grizzly/comet/CometEvent$Type;
invokevirtual org.glassfish.grizzly.comet.CometEvent$Type.ordinal:()I
iconst_5
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.glassfish.grizzly.comet.CometEvent$Type.TERMINATE:Lorg/glassfish/grizzly/comet/CometEvent$Type;
invokevirtual org.glassfish.grizzly.comet.CometEvent$Type.ordinal:()I
iconst_4
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.glassfish.grizzly.comet.CometEvent$Type.WRITE:Lorg/glassfish/grizzly/comet/CometEvent$Type;
invokevirtual org.glassfish.grizzly.comet.CometEvent$Type.ordinal:()I
bipush 6
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic org.glassfish.grizzly.comet.DefaultNotificationHandler.$SWITCH_TABLE$org$glassfish$grizzly$comet$CometEvent$Type:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
}
SourceFile: "DefaultNotificationHandler.java"
InnerClasses:
public final Type = org.glassfish.grizzly.comet.CometEvent$Type of org.glassfish.grizzly.comet.CometEvent