final class jdk.jfr.internal.consumer.Dispatcher$EventDispatcher
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.consumer.Dispatcher$EventDispatcher
super_class: java.lang.Object
{
private static final jdk.jfr.internal.consumer.Dispatcher$EventDispatcher[] NO_DISPATCHERS;
descriptor: [Ljdk/jfr/internal/consumer/Dispatcher$EventDispatcher;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String eventName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.function.Consumer<jdk.jfr.consumer.RecordedEvent> action;
descriptor: Ljava/util/function/Consumer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Consumer<Ljdk/jfr/consumer/RecordedEvent;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray jdk.jfr.internal.consumer.Dispatcher$EventDispatcher
putstatic jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.NO_DISPATCHERS:[Ljdk/jfr/internal/consumer/Dispatcher$EventDispatcher;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, java.util.function.Consumer<jdk.jfr.consumer.RecordedEvent>);
descriptor: (Ljava/lang/String;Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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 jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.eventName:Ljava/lang/String;
2: aload 0
aload 2
putfield jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.action:Ljava/util/function/Consumer;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/consumer/Dispatcher$EventDispatcher;
0 4 1 eventName Ljava/lang/String;
0 4 2 action Ljava/util/function/Consumer<Ljdk/jfr/consumer/RecordedEvent;>;
Signature: (Ljava/lang/String;Ljava/util/function/Consumer<Ljdk/jfr/consumer/RecordedEvent;>;)V
MethodParameters:
Name Flags
eventName
action
private void offer(jdk.jfr.consumer.RecordedEvent);
descriptor: (Ljdk/jfr/consumer/RecordedEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.action:Ljava/util/function/Consumer;
aload 1
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/consumer/Dispatcher$EventDispatcher;
0 2 1 event Ljdk/jfr/consumer/RecordedEvent;
MethodParameters:
Name Flags
event
private boolean accepts(jdk.jfr.EventType);
descriptor: (Ljdk/jfr/EventType;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.eventName:Ljava/lang/String;
ifnull 1
aload 1
invokevirtual jdk.jfr.EventType.getName:()Ljava/lang/String;
aload 0
getfield jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.eventName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/consumer/Dispatcher$EventDispatcher;
0 2 1 eventType Ljdk/jfr/EventType;
MethodParameters:
Name Flags
eventType
public java.util.function.Consumer<jdk.jfr.consumer.RecordedEvent> getAction();
descriptor: ()Ljava/util/function/Consumer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.Dispatcher$EventDispatcher.action:Ljava/util/function/Consumer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/Dispatcher$EventDispatcher;
Signature: ()Ljava/util/function/Consumer<Ljdk/jfr/consumer/RecordedEvent;>;
}
SourceFile: "Dispatcher.java"
NestHost: jdk.jfr.internal.consumer.Dispatcher
InnerClasses:
final EventDispatcher = jdk.jfr.internal.consumer.Dispatcher$EventDispatcher of jdk.jfr.internal.consumer.Dispatcher