class io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue
super_class: java.lang.Object
{
private final java.util.Queue<io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue$SerializedTask<?>> tasks;
descriptor: Ljava/util/Queue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Queue<Lio/vertx/core/eventbus/impl/clustered/Serializer$SerializerQueue$SerializedTask<*>;>;
private final java.lang.String address;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean running;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final io.vertx.core.eventbus.impl.clustered.Serializer this$0;
descriptor: Lio/vertx/core/eventbus/impl/clustered/Serializer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(io.vertx.core.eventbus.impl.clustered.Serializer, java.lang.String);
descriptor: (Lio/vertx/core/eventbus/impl/clustered/Serializer;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.this$0:Lio/vertx/core/eventbus/impl/clustered/Serializer;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.address:Ljava/lang/String;
2: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.tasks:Ljava/util/Queue;
3: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/eventbus/impl/clustered/Serializer$SerializerQueue;
0 4 2 address Ljava/lang/String;
MethodParameters:
Name Flags
this$0 final
address
void checkPending();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.running:Z
ifne 9
1: aload 0
iconst_1
putfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.running:Z
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.tasks:Ljava/util/Queue;
invokeinterface java.util.Queue.peek:()Ljava/lang/Object;
checkcast io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue$SerializedTask
astore 1
start local 1 3: aload 1
ifnull 7
4: aload 1
invokevirtual io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue$SerializedTask.process:()V
5: aload 0
getfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.tasks:Ljava/util/Queue;
invokeinterface java.util.Queue.peek:()Ljava/lang/Object;
aload 1
if_acmpne 2
6: goto 8
7: StackMap locals: io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue$SerializedTask
StackMap stack:
aload 0
getfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.this$0:Lio/vertx/core/eventbus/impl/clustered/Serializer;
getfield io.vertx.core.eventbus.impl.clustered.Serializer.queues:Ljava/util/Map;
aload 0
getfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.address:Ljava/lang/String;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 1 8: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.running:Z
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/eventbus/impl/clustered/Serializer$SerializerQueue;
3 8 1 task Lio/vertx/core/eventbus/impl/clustered/Serializer$SerializerQueue$SerializedTask<*>;
<U> void add(io.vertx.core.eventbus.Message<?>, java.util.function.BiConsumer<io.vertx.core.eventbus.Message<?>, io.vertx.core.Promise<U>>, io.vertx.core.Promise<U>);
descriptor: (Lio/vertx/core/eventbus/Message;Ljava/util/function/BiConsumer;Lio/vertx/core/Promise;)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue$SerializedTask
dup
aload 0
aload 0
getfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.this$0:Lio/vertx/core/eventbus/impl/clustered/Serializer;
getfield io.vertx.core.eventbus.impl.clustered.Serializer.context:Lio/vertx/core/impl/ContextInternal;
aload 1
aload 2
invokespecial io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue$SerializedTask.<init>:(Lio/vertx/core/eventbus/impl/clustered/Serializer$SerializerQueue;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/eventbus/Message;Ljava/util/function/BiConsumer;)V
astore 4
start local 4 1: aload 4
getfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue$SerializedTask.internalPromise:Lio/vertx/core/Promise;
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
astore 5
start local 5 2: aload 5
aload 3
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: aload 5
aload 4
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
4: aload 0
getfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.tasks:Ljava/util/Queue;
aload 4
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
5: aload 0
invokevirtual io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.checkPending:()V
6: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/eventbus/impl/clustered/Serializer$SerializerQueue;
0 7 1 msg Lio/vertx/core/eventbus/Message<*>;
0 7 2 selectHandler Ljava/util/function/BiConsumer<Lio/vertx/core/eventbus/Message<*>;Lio/vertx/core/Promise<TU;>;>;
0 7 3 promise Lio/vertx/core/Promise<TU;>;
1 7 4 serializedTask Lio/vertx/core/eventbus/impl/clustered/Serializer$SerializerQueue$SerializedTask<TU;>;
2 7 5 fut Lio/vertx/core/Future<TU;>;
Signature: <U:Ljava/lang/Object;>(Lio/vertx/core/eventbus/Message<*>;Ljava/util/function/BiConsumer<Lio/vertx/core/eventbus/Message<*>;Lio/vertx/core/Promise<TU;>;>;Lio/vertx/core/Promise<TU;>;)V
MethodParameters:
Name Flags
msg
selectHandler
promise
void processed();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.closed:Z
ifne 3
1: aload 0
getfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.tasks:Ljava/util/Queue;
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
pop
2: aload 0
invokevirtual io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.checkPending:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/eventbus/impl/clustered/Serializer$SerializerQueue;
void close();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.closed:Z
1: goto 3
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.tasks:Ljava/util/Queue;
invokeinterface java.util.Queue.remove:()Ljava/lang/Object;
checkcast io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue$SerializedTask
getfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue$SerializedTask.internalPromise:Lio/vertx/core/Promise;
ldc "Context is closing"
invokeinterface io.vertx.core.Promise.tryFail:(Ljava/lang/String;)Z
pop
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue.tasks:Ljava/util/Queue;
invokeinterface java.util.Queue.isEmpty:()Z
ifeq 2
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/eventbus/impl/clustered/Serializer$SerializerQueue;
}
SourceFile: "Serializer.java"
NestHost: io.vertx.core.eventbus.impl.clustered.Serializer
InnerClasses:
private SerializerQueue = io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue of io.vertx.core.eventbus.impl.clustered.Serializer
private SerializedTask = io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue$SerializedTask of io.vertx.core.eventbus.impl.clustered.Serializer$SerializerQueue