public class io.vertx.ext.mongo.impl.PublisherAdapter<T> implements io.vertx.core.streams.ReadStream<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.mongo.impl.PublisherAdapter
super_class: java.lang.Object
{
private final io.vertx.core.impl.ContextInternal context;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.reactivestreams.Publisher<T> publisher;
descriptor: Lorg/reactivestreams/Publisher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/reactivestreams/Publisher<TT;>;
private final io.vertx.core.streams.impl.InboundBuffer<T> internalQueue;
descriptor: Lio/vertx/core/streams/impl/InboundBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/streams/impl/InboundBuffer<TT;>;
private final int batchSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.vertx.ext.mongo.impl.PublisherAdapter$State state;
descriptor: Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
private int inFlight;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.Handler<T> handler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<TT;>;
private io.vertx.core.Handler<java.lang.Throwable> exceptionHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
private io.vertx.core.Handler<java.lang.Void> endHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;
private org.reactivestreams.Subscription subscription;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0002) ACC_PRIVATE
public void <init>(io.vertx.core.impl.ContextInternal, org.reactivestreams.Publisher<T>, );
descriptor: (Lio/vertx/core/impl/ContextInternal;Lorg/reactivestreams/Publisher;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "context is null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 2
ldc "publisher is null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
3: aload 0
aload 1
putfield io.vertx.ext.mongo.impl.PublisherAdapter.context:Lio/vertx/core/impl/ContextInternal;
4: aload 0
aload 2
putfield io.vertx.ext.mongo.impl.PublisherAdapter.publisher:Lorg/reactivestreams/Publisher;
5: aload 0
iload 3
ifle 6
iload 3
goto 7
StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter io.vertx.core.impl.ContextInternal org.reactivestreams.Publisher int
StackMap stack: io.vertx.ext.mongo.impl.PublisherAdapter
6: sipush 256
StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter io.vertx.core.impl.ContextInternal org.reactivestreams.Publisher int
StackMap stack: io.vertx.ext.mongo.impl.PublisherAdapter int
7: putfield io.vertx.ext.mongo.impl.PublisherAdapter.batchSize:I
8: aload 0
new io.vertx.core.streams.impl.InboundBuffer
dup
aload 1
invokespecial io.vertx.core.streams.impl.InboundBuffer.<init>:(Lio/vertx/core/Context;)V
putfield io.vertx.ext.mongo.impl.PublisherAdapter.internalQueue:Lio/vertx/core/streams/impl/InboundBuffer;
9: aload 0
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.IDLE:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
putfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
0 11 1 context Lio/vertx/core/impl/ContextInternal;
0 11 2 publisher Lorg/reactivestreams/Publisher<TT;>;
0 11 3 batchSize I
Signature: (Lio/vertx/core/impl/ContextInternal;Lorg/reactivestreams/Publisher<TT;>;I)V
MethodParameters:
Name Flags
context
publisher
batchSize
public synchronized io.vertx.core.streams.ReadStream<T> exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.STOPPED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
if_acmpeq 2
1: aload 0
aload 1
putfield io.vertx.ext.mongo.impl.PublisherAdapter.exceptionHandler:Lio/vertx/core/Handler;
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
0 3 1 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/core/streams/ReadStream<TT;>;
MethodParameters:
Name Flags
handler
public io.vertx.core.streams.ReadStream<T> handler(io.vertx.core.Handler<T>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.STOPPED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
if_acmpne 4
2: aload 0
aload 2
monitorexit
3: areturn
4: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack:
aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 1
ifnonnull 12
9: aload 0
invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.stop:()V
10: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.context:Lio/vertx/core/impl/ContextInternal;
aload 0
invokedynamic handle(Lio/vertx/ext/mongo/impl/PublisherAdapter;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/ext/mongo/impl/PublisherAdapter.lambda$0(Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.runOnContext:(Lio/vertx/core/Handler;)V
11: goto 30
12: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
13: aload 0
aload 1
putfield io.vertx.ext.mongo.impl.PublisherAdapter.handler:Lio/vertx/core/Handler;
14: aload 2
monitorexit
15: goto 18
StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter io.vertx.core.Handler io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack: java.lang.Throwable
16: aload 2
monitorexit
17: athrow
18: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.internalQueue:Lio/vertx/core/streams/impl/InboundBuffer;
aload 0
invokedynamic handle(Lio/vertx/ext/mongo/impl/PublisherAdapter;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/ext/mongo/impl/PublisherAdapter.handleOut(Ljava/lang/Object;)V (7)
(Ljava/lang/Object;)V
invokevirtual io.vertx.core.streams.impl.InboundBuffer.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/impl/InboundBuffer;
pop
19: iconst_0
istore 3
start local 3 20: aload 0
dup
astore 4
monitorenter
21: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.IDLE:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
if_acmpne 24
22: aload 0
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.STARTED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
putfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
23: iconst_1
istore 3
24: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter io.vertx.core.Handler top int io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack:
aload 4
monitorexit
25: goto 28
StackMap locals:
StackMap stack: java.lang.Throwable
26: aload 4
monitorexit
27: athrow
28: StackMap locals:
StackMap stack:
iload 3
ifeq 30
29: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.publisher:Lorg/reactivestreams/Publisher;
new io.vertx.ext.mongo.impl.PublisherAdapter$Subscriber
dup
aload 0
invokespecial io.vertx.ext.mongo.impl.PublisherAdapter$Subscriber.<init>:(Lio/vertx/ext/mongo/impl/PublisherAdapter;)V
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)V
end local 3 30: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter io.vertx.core.Handler
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
0 31 1 handler Lio/vertx/core/Handler<TT;>;
20 30 3 subscribe Z
Exception table:
from to target type
1 3 6 any
4 5 6 any
6 7 6 any
13 15 16 any
16 17 16 any
21 25 26 any
26 27 26 any
Signature: (Lio/vertx/core/Handler<TT;>;)Lio/vertx/core/streams/ReadStream<TT;>;
MethodParameters:
Name Flags
handler
public io.vertx.core.streams.ReadStream<T> pause();
descriptor: ()Lio/vertx/core/streams/ReadStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.STOPPED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
if_acmpne 4
2: aload 0
aload 1
monitorexit
3: areturn
4: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack:
aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.internalQueue:Lio/vertx/core/streams/impl/InboundBuffer;
invokevirtual io.vertx.core.streams.impl.InboundBuffer.pause:()Lio/vertx/core/streams/impl/InboundBuffer;
pop
9: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
Exception table:
from to target type
1 3 6 any
4 5 6 any
6 7 6 any
Signature: ()Lio/vertx/core/streams/ReadStream<TT;>;
public io.vertx.core.streams.ReadStream<T> resume();
descriptor: ()Lio/vertx/core/streams/ReadStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.STOPPED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
if_acmpne 4
2: aload 0
aload 1
monitorexit
3: areturn
4: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack:
aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.internalQueue:Lio/vertx/core/streams/impl/InboundBuffer;
invokevirtual io.vertx.core.streams.impl.InboundBuffer.resume:()Z
pop
9: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
Exception table:
from to target type
1 3 6 any
4 5 6 any
6 7 6 any
Signature: ()Lio/vertx/core/streams/ReadStream<TT;>;
public synchronized io.vertx.core.streams.ReadStream<T> fetch(long);
descriptor: (J)Lio/vertx/core/streams/ReadStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.STOPPED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
if_acmpne 4
2: aload 0
aload 3
monitorexit
3: areturn
4: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack:
aload 3
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.internalQueue:Lio/vertx/core/streams/impl/InboundBuffer;
lload 1
invokevirtual io.vertx.core.streams.impl.InboundBuffer.fetch:(J)Z
pop
9: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
0 10 1 amount J
Exception table:
from to target type
1 3 6 any
4 5 6 any
6 7 6 any
Signature: (J)Lio/vertx/core/streams/ReadStream<TT;>;
MethodParameters:
Name Flags
amount
public synchronized io.vertx.core.streams.ReadStream<T> endHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.STOPPED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
if_acmpeq 2
1: aload 0
aload 1
putfield io.vertx.ext.mongo.impl.PublisherAdapter.endHandler:Lio/vertx/core/Handler;
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
0 3 1 endHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/core/streams/ReadStream<TT;>;
MethodParameters:
Name Flags
endHandler
private void handleIn();
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.STOPPED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
if_acmpne 4
2: aload 2
monitorexit
3: return
4: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack:
aload 0
dup
getfield io.vertx.ext.mongo.impl.PublisherAdapter.inFlight:I
iconst_1
iadd
putfield io.vertx.ext.mongo.impl.PublisherAdapter.inFlight:I
5: aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.internalQueue:Lio/vertx/core/streams/impl/InboundBuffer;
aload 1
invokevirtual io.vertx.core.streams.impl.InboundBuffer.write:(Ljava/lang/Object;)Z
pop
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
0 11 1 item TT;
Exception table:
from to target type
1 3 7 any
4 6 7 any
7 8 7 any
Signature: (TT;)V
MethodParameters:
Name Flags
item
private void handleOut();
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.STOPPED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
if_acmpne 4
2: aload 2
monitorexit
3: return
4: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack:
aload 0
dup
getfield io.vertx.ext.mongo.impl.PublisherAdapter.inFlight:I
iconst_1
isub
putfield io.vertx.ext.mongo.impl.PublisherAdapter.inFlight:I
5: aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.handler:Lio/vertx/core/Handler;
aload 1
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
10: aload 0
dup
astore 3
monitorenter
11: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.inFlight:I
ifeq 14
12: aload 3
monitorexit
13: return
14: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter java.lang.Object top io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack:
aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
astore 2
start local 2 15: aload 3
monitorexit
16: goto 19
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
17: aload 3
monitorexit
18: athrow
start local 2 19: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter java.lang.Object io.vertx.ext.mongo.impl.PublisherAdapter$State
StackMap stack:
aload 2
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.EXHAUSTED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
if_acmpne 23
20: aload 0
invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.stop:()V
21: aload 0
invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.handleEnd:()V
22: goto 24
23: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.requestMore:()V
24: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
0 25 1 item TT;
15 17 2 s Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
19 25 2 s Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
Exception table:
from to target type
1 3 7 any
4 6 7 any
7 8 7 any
11 13 17 any
14 16 17 any
17 18 17 any
Signature: (TT;)V
MethodParameters:
Name Flags
item
private void handleOnComplete();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.STOPPED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
if_acmpne 4
2: aload 2
monitorexit
3: return
4: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter top io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack:
aload 0
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.EXHAUSTED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
putfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
5: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.inFlight:I
ifne 6
iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 1
start local 1 8: aload 2
monitorexit
9: goto 12
end local 1 StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
start local 1 12: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter int
StackMap stack:
iload 1
ifeq 15
13: aload 0
invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.stop:()V
14: aload 0
invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.handleEnd:()V
15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
8 10 1 stop Z
12 16 1 stop Z
Exception table:
from to target type
1 3 10 any
4 9 10 any
10 11 10 any
private void handleException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.STOPPED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
if_acmpeq 2
aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.exceptionHandler:Lio/vertx/core/Handler;
goto 3
StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter java.lang.Throwable top io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: io.vertx.core.Handler
3: astore 2
start local 2 4: aload 3
monitorexit
5: goto 8
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
start local 2 8: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter java.lang.Throwable io.vertx.core.Handler
StackMap stack:
aload 2
ifnull 11
9: aload 0
invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.stop:()V
10: aload 2
aload 1
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
0 12 1 cause Ljava/lang/Throwable;
4 6 2 h Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
8 12 2 h Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
cause
private void requestMore();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.STOPPED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
if_acmpne 4
2: aload 2
monitorexit
3: return
4: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter top io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack:
aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.subscription:Lorg/reactivestreams/Subscription;
astore 1
start local 1 5: aload 2
monitorexit
6: goto 9
end local 1 StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
start local 1 9: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter org.reactivestreams.Subscription
StackMap stack:
aload 1
aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.batchSize:I
i2l
invokeinterface org.reactivestreams.Subscription.request:(J)V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
5 7 1 s Lorg/reactivestreams/Subscription;
9 11 1 s Lorg/reactivestreams/Subscription;
Exception table:
from to target type
1 3 7 any
4 6 7 any
7 8 7 any
private void handleEnd();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.endHandler:Lio/vertx/core/Handler;
astore 1
start local 1 2: aload 2
monitorexit
3: goto 6
end local 1 StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter top io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
start local 1 6: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter io.vertx.core.Handler
StackMap stack:
aload 1
ifnull 8
7: aload 1
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
2 4 1 h Lio/vertx/core/Handler<Ljava/lang/Void;>;
6 9 1 h Lio/vertx/core/Handler<Ljava/lang/Void;>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
private void stop();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.STOPPED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
putfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
2: aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.subscription:Lorg/reactivestreams/Subscription;
astore 1
start local 1 3: aload 2
monitorexit
4: goto 7
end local 1 StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter top io.vertx.ext.mongo.impl.PublisherAdapter
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
start local 1 7: StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter org.reactivestreams.Subscription
StackMap stack:
aload 0
getfield io.vertx.ext.mongo.impl.PublisherAdapter.internalQueue:Lio/vertx/core/streams/impl/InboundBuffer;
aconst_null
invokevirtual io.vertx.core.streams.impl.InboundBuffer.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/impl/InboundBuffer;
aconst_null
invokevirtual io.vertx.core.streams.impl.InboundBuffer.drainHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/impl/InboundBuffer;
pop
8: aload 1
ifnull 10
9: aload 1
invokeinterface org.reactivestreams.Subscription.cancel:()V
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
3 5 1 s Lorg/reactivestreams/Subscription;
7 11 1 s Lorg/reactivestreams/Subscription;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public io.vertx.core.streams.StreamBase exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/StreamBase;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.handleEnd:()V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/mongo/impl/PublisherAdapter<TT;>;
0 1 1 v Ljava/lang/Void;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lio/vertx/core/streams/ReadStream<TT;>;
SourceFile: "PublisherAdapter.java"
NestMembers:
io.vertx.ext.mongo.impl.PublisherAdapter$State io.vertx.ext.mongo.impl.PublisherAdapter$Subscriber
InnerClasses:
private final State = io.vertx.ext.mongo.impl.PublisherAdapter$State of io.vertx.ext.mongo.impl.PublisherAdapter
private Subscriber = io.vertx.ext.mongo.impl.PublisherAdapter$Subscriber of io.vertx.ext.mongo.impl.PublisherAdapter
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles