class com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener implements org.glassfish.jersey.server.monitoring.RequestEventListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener
super_class: java.lang.Object
{
private final java.util.concurrent.ConcurrentMap<com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$EventTypeAndMethod, com.codahale.metrics.Timer> timers;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$EventTypeAndMethod;Lcom/codahale/metrics/Timer;>;
private final com.codahale.metrics.Clock clock;
descriptor: Lcom/codahale/metrics/Clock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long start;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.codahale.metrics.Timer$Context resourceMethodStartContext;
descriptor: Lcom/codahale/metrics/Timer$Context;
flags: (0x0002) ACC_PRIVATE
private com.codahale.metrics.Timer$Context requestMatchedContext;
descriptor: Lcom/codahale/metrics/Timer$Context;
flags: (0x0002) ACC_PRIVATE
private com.codahale.metrics.Timer$Context ;
descriptor: Lcom/codahale/metrics/Timer$Context;
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$org$glassfish$jersey$server$monitoring$RequestEvent$Type;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(java.util.concurrent.ConcurrentMap<com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$EventTypeAndMethod, com.codahale.metrics.Timer>, com.codahale.metrics.Clock);
descriptor: (Ljava/util/concurrent/ConcurrentMap;Lcom/codahale/metrics/Clock;)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.timers:Ljava/util/concurrent/ConcurrentMap;
2: aload 0
aload 2
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.clock:Lcom/codahale/metrics/Clock;
3: aload 0
aload 2
invokevirtual com.codahale.metrics.Clock.getTick:()J
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.start:J
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$TimerRequestEventListener;
0 5 1 timers Ljava/util/concurrent/ConcurrentMap<Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$EventTypeAndMethod;Lcom/codahale/metrics/Timer;>;
0 5 2 clock Lcom/codahale/metrics/Clock;
Signature: (Ljava/util/concurrent/ConcurrentMap<Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$EventTypeAndMethod;Lcom/codahale/metrics/Timer;>;Lcom/codahale/metrics/Clock;)V
MethodParameters:
Name Flags
timers final
clock final
public void onEvent(org.glassfish.jersey.server.monitoring.RequestEvent);
descriptor: (Lorg/glassfish/jersey/server/monitoring/RequestEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.$SWITCH_TABLE$org$glassfish$jersey$server$monitoring$RequestEvent$Type:()[I
aload 1
invokeinterface org.glassfish.jersey.server.monitoring.RequestEvent.getType:()Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
iaload
tableswitch { // 5 - 14
5: 3
6: 10
7: 1
8: 7
9: 5
10: 13
11: 21
12: 21
13: 21
14: 16
default: 21
}
1: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.context:(Lorg/glassfish/jersey/server/monitoring/RequestEvent;)Lcom/codahale/metrics/Timer$Context;
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.resourceMethodStartContext:Lcom/codahale/metrics/Timer$Context;
2: goto 21
3: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.context:(Lorg/glassfish/jersey/server/monitoring/RequestEvent;)Lcom/codahale/metrics/Timer$Context;
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.requestMatchedContext:Lcom/codahale/metrics/Timer$Context;
4: goto 21
5: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.context:(Lorg/glassfish/jersey/server/monitoring/RequestEvent;)Lcom/codahale/metrics/Timer$Context;
putfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.responseFiltersStartContext:Lcom/codahale/metrics/Timer$Context;
6: goto 21
7: StackMap locals:
StackMap stack:
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.resourceMethodStartContext:Lcom/codahale/metrics/Timer$Context;
ifnull 21
8: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.resourceMethodStartContext:Lcom/codahale/metrics/Timer$Context;
invokevirtual com.codahale.metrics.Timer$Context.close:()V
9: goto 21
10: StackMap locals:
StackMap stack:
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.requestMatchedContext:Lcom/codahale/metrics/Timer$Context;
ifnull 21
11: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.requestMatchedContext:Lcom/codahale/metrics/Timer$Context;
invokevirtual com.codahale.metrics.Timer$Context.close:()V
12: goto 21
13: StackMap locals:
StackMap stack:
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.responseFiltersStartContext:Lcom/codahale/metrics/Timer$Context;
ifnull 21
14: aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.responseFiltersStartContext:Lcom/codahale/metrics/Timer$Context;
invokevirtual com.codahale.metrics.Timer$Context.close:()V
15: goto 21
16: StackMap locals:
StackMap stack:
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.requestMatchedContext:Lcom/codahale/metrics/Timer$Context;
ifnull 21
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.responseFiltersStartContext:Lcom/codahale/metrics/Timer$Context;
ifnull 21
17: aload 0
aload 1
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.timer:(Lorg/glassfish/jersey/server/monitoring/RequestEvent;)Lcom/codahale/metrics/Timer;
astore 2
start local 2 18: aload 2
ifnull 21
19: aload 2
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.clock:Lcom/codahale/metrics/Clock;
invokevirtual com.codahale.metrics.Clock.getTick:()J
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.start:J
lsub
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual com.codahale.metrics.Timer.update:(JLjava/util/concurrent/TimeUnit;)V
end local 2 20: goto 21
21: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$TimerRequestEventListener;
0 22 1 event Lorg/glassfish/jersey/server/monitoring/RequestEvent;
18 20 2 timer Lcom/codahale/metrics/Timer;
MethodParameters:
Name Flags
event
private com.codahale.metrics.Timer timer(org.glassfish.jersey.server.monitoring.RequestEvent);
descriptor: (Lorg/glassfish/jersey/server/monitoring/RequestEvent;)Lcom/codahale/metrics/Timer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.glassfish.jersey.server.monitoring.RequestEvent.getUriInfo:()Lorg/glassfish/jersey/server/ExtendedUriInfo;
invokeinterface org.glassfish.jersey.server.ExtendedUriInfo.getMatchedResourceMethod:()Lorg/glassfish/jersey/server/model/ResourceMethod;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.glassfish.jersey.server.model.ResourceMethod
StackMap stack:
aload 0
getfield com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.timers:Ljava/util/concurrent/ConcurrentMap;
new com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$EventTypeAndMethod
dup
aload 1
invokeinterface org.glassfish.jersey.server.monitoring.RequestEvent.getType:()Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
aload 2
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getInvocable:()Lorg/glassfish/jersey/server/model/Invocable;
invokevirtual org.glassfish.jersey.server.model.Invocable.getDefinitionMethod:()Ljava/lang/reflect/Method;
invokespecial com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$EventTypeAndMethod.<init>:(Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;Ljava/lang/reflect/Method;)V
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.codahale.metrics.Timer
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$TimerRequestEventListener;
0 4 1 event Lorg/glassfish/jersey/server/monitoring/RequestEvent;
1 4 2 resourceMethod Lorg/glassfish/jersey/server/model/ResourceMethod;
MethodParameters:
Name Flags
event
private com.codahale.metrics.Timer$Context context(org.glassfish.jersey.server.monitoring.RequestEvent);
descriptor: (Lorg/glassfish/jersey/server/monitoring/RequestEvent;)Lcom/codahale/metrics/Timer$Context;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.timer:(Lorg/glassfish/jersey/server/monitoring/RequestEvent;)Lcom/codahale/metrics/Timer;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual com.codahale.metrics.Timer.time:()Lcom/codahale/metrics/Timer$Context;
goto 3
StackMap locals: com.codahale.metrics.Timer
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: com.codahale.metrics.Timer$Context
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/codahale/metrics/jersey2/InstrumentedResourceMethodApplicationListener$TimerRequestEventListener;
0 4 1 event Lorg/glassfish/jersey/server/monitoring/RequestEvent;
1 4 2 timer Lcom/codahale/metrics/Timer;
MethodParameters:
Name Flags
event
static int[] $SWITCH_TABLE$org$glassfish$jersey$server$monitoring$RequestEvent$Type();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.$SWITCH_TABLE$org$glassfish$jersey$server$monitoring$RequestEvent$Type:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.values:()[Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.EXCEPTION_MAPPER_FOUND:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
bipush 12
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.EXCEPTION_MAPPING_FINISHED:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
bipush 13
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.FINISHED:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
bipush 14
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.LOCATOR_MATCHED:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
iconst_3
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.MATCHING_START:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.ON_EXCEPTION:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
bipush 11
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.REQUEST_FILTERED:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
bipush 6
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.REQUEST_MATCHED:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
iconst_5
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.RESOURCE_METHOD_FINISHED:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
bipush 8
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.RESOURCE_METHOD_START:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
bipush 7
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.RESP_FILTERS_FINISHED:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
bipush 10
iastore
33: goto 35
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
34: pop
StackMap locals:
StackMap stack:
35: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.RESP_FILTERS_START:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
bipush 9
iastore
36: goto 38
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
37: pop
StackMap locals:
StackMap stack:
38: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.START:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
iconst_1
iastore
39: goto 41
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
40: pop
StackMap locals:
StackMap stack:
41: aload 0
getstatic org.glassfish.jersey.server.monitoring.RequestEvent$Type.SUBRESOURCE_LOCATED:Lorg/glassfish/jersey/server/monitoring/RequestEvent$Type;
invokevirtual org.glassfish.jersey.server.monitoring.RequestEvent$Type.ordinal:()I
iconst_4
iastore
42: goto 44
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
43: pop
StackMap locals:
StackMap stack:
44: aload 0
dup
putstatic com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener.$SWITCH_TABLE$org$glassfish$jersey$server$monitoring$RequestEvent$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
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
32 33 34 Class java.lang.NoSuchFieldError
35 36 37 Class java.lang.NoSuchFieldError
38 39 40 Class java.lang.NoSuchFieldError
41 42 43 Class java.lang.NoSuchFieldError
}
SourceFile: "InstrumentedResourceMethodApplicationListener.java"
NestHost: com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
InnerClasses:
public Context = com.codahale.metrics.Timer$Context of com.codahale.metrics.Timer
private EventTypeAndMethod = com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$EventTypeAndMethod of com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
private TimerRequestEventListener = com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener$TimerRequestEventListener of com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
public final Type = org.glassfish.jersey.server.monitoring.RequestEvent$Type of org.glassfish.jersey.server.monitoring.RequestEvent