public class io.vertx.ext.mongo.impl.MappingAndBufferingSubscriber<T, R> implements org.reactivestreams.Subscriber<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.mongo.impl.MappingAndBufferingSubscriber
super_class: java.lang.Object
{
private final java.util.List<R> received;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<TR;>;
private final java.util.function.Function<T, R> converter;
descriptor: Ljava/util/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Function<TT;TR;>;
private final io.vertx.core.Promise<java.util.List<R>> promise;
descriptor: Lio/vertx/core/Promise;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/Promise<Ljava/util/List<TR;>;>;
public void <init>(java.util.function.Function<T, R>, io.vertx.core.Promise<java.util.List<R>>);
descriptor: (Ljava/util/function/Function;Lio/vertx/core/Promise;)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
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.ext.mongo.impl.MappingAndBufferingSubscriber.received:Ljava/util/List;
2: aload 1
ldc "converter is null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
3: aload 2
ldc "promise is null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
4: aload 0
aload 2
putfield io.vertx.ext.mongo.impl.MappingAndBufferingSubscriber.promise:Lio/vertx/core/Promise;
5: aload 0
aload 1
putfield io.vertx.ext.mongo.impl.MappingAndBufferingSubscriber.converter:Ljava/util/function/Function;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/ext/mongo/impl/MappingAndBufferingSubscriber<TT;TR;>;
0 7 1 converter Ljava/util/function/Function<TT;TR;>;
0 7 2 promise Lio/vertx/core/Promise<Ljava/util/List<TR;>;>;
Signature: (Ljava/util/function/Function<TT;TR;>;Lio/vertx/core/Promise<Ljava/util/List<TR;>;>;)V
MethodParameters:
Name Flags
converter
promise
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc 9223372036854775807
invokeinterface org.reactivestreams.Subscription.request:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/mongo/impl/MappingAndBufferingSubscriber<TT;TR;>;
0 2 1 s Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
s
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.mongo.impl.MappingAndBufferingSubscriber.received:Ljava/util/List;
aload 0
getfield io.vertx.ext.mongo.impl.MappingAndBufferingSubscriber.converter:Ljava/util/function/Function;
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/mongo/impl/MappingAndBufferingSubscriber<TT;TR;>;
0 2 1 t TT;
Signature: (TT;)V
MethodParameters:
Name Flags
t
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.mongo.impl.MappingAndBufferingSubscriber.promise:Lio/vertx/core/Promise;
aload 1
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/mongo/impl/MappingAndBufferingSubscriber<TT;TR;>;
0 2 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.mongo.impl.MappingAndBufferingSubscriber.promise:Lio/vertx/core/Promise;
aload 0
getfield io.vertx.ext.mongo.impl.MappingAndBufferingSubscriber.received:Ljava/util/List;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/mongo/impl/MappingAndBufferingSubscriber<TT;TR;>;
}
Signature: <T:Ljava/lang/Object;R:Ljava/lang/Object;>Ljava/lang/Object;Lorg/reactivestreams/Subscriber<TT;>;
SourceFile: "MappingAndBufferingSubscriber.java"