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 // io.vertx.ext.mongo.impl.PublisherAdapter this
        start local 1 // io.vertx.core.impl.ContextInternal context
        start local 2 // org.reactivestreams.Publisher publisher
        start local 3 // int batchSize
         0: .line 46
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 47
            aload 1 /* context */
            ldc "context is null"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         2: .line 48
            aload 2 /* publisher */
            ldc "publisher is null"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         3: .line 49
            aload 0 /* this */
            aload 1 /* context */
            putfield io.vertx.ext.mongo.impl.PublisherAdapter.context:Lio/vertx/core/impl/ContextInternal;
         4: .line 50
            aload 0 /* this */
            aload 2 /* publisher */
            putfield io.vertx.ext.mongo.impl.PublisherAdapter.publisher:Lorg/reactivestreams/Publisher;
         5: .line 51
            aload 0 /* this */
            iload 3 /* batchSize */
            ifle 6
            iload 3 /* batchSize */
            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: .line 52
            aload 0 /* this */
            new io.vertx.core.streams.impl.InboundBuffer
            dup
            aload 1 /* context */
            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: .line 53
            aload 0 /* this */
            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: .line 54
            return
        end local 3 // int batchSize
        end local 2 // org.reactivestreams.Publisher publisher
        end local 1 // io.vertx.core.impl.ContextInternal context
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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 // io.vertx.ext.mongo.impl.PublisherAdapter this
        start local 1 // io.vertx.core.Handler handler
         0: .line 58
            aload 0 /* this */
            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: .line 59
            aload 0 /* this */
            aload 1 /* handler */
            putfield io.vertx.ext.mongo.impl.PublisherAdapter.exceptionHandler:Lio/vertx/core/Handler;
         2: .line 61
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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 // io.vertx.ext.mongo.impl.PublisherAdapter this
        start local 1 // io.vertx.core.Handler handler
         0: .line 66
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 67
            aload 0 /* this */
            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: .line 68
            aload 0 /* this */
            aload 2
            monitorexit
         3: areturn
         4: .line 66
      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: .line 71
      StackMap locals:
      StackMap stack:
            aload 1 /* handler */
            ifnonnull 12
         9: .line 72
            aload 0 /* this */
            invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.stop:()V
        10: .line 73
            aload 0 /* this */
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.context:Lio/vertx/core/impl/ContextInternal;
            aload 0 /* this */
            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: .line 74
            goto 30
        12: .line 75
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 2
            monitorenter
        13: .line 76
            aload 0 /* this */
            aload 1 /* handler */
            putfield io.vertx.ext.mongo.impl.PublisherAdapter.handler:Lio/vertx/core/Handler;
        14: .line 75
            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: .line 78
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.internalQueue:Lio/vertx/core/streams/impl/InboundBuffer;
            aload 0 /* this */
            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: .line 79
            iconst_0
            istore 3 /* subscribe */
        start local 3 // boolean subscribe
        20: .line 80
            aload 0 /* this */
            dup
            astore 4
            monitorenter
        21: .line 81
            aload 0 /* this */
            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: .line 82
            aload 0 /* this */
            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: .line 83
            iconst_1
            istore 3 /* subscribe */
        24: .line 80
      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: .line 86
      StackMap locals:
      StackMap stack:
            iload 3 /* subscribe */
            ifeq 30
        29: .line 87
            aload 0 /* this */
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.publisher:Lorg/reactivestreams/Publisher;
            new io.vertx.ext.mongo.impl.PublisherAdapter$Subscriber
            dup
            aload 0 /* this */
            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 // boolean subscribe
        30: .line 90
      StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter io.vertx.core.Handler
      StackMap stack:
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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 // io.vertx.ext.mongo.impl.PublisherAdapter this
         0: .line 95
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         1: .line 96
            aload 0 /* this */
            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: .line 97
            aload 0 /* this */
            aload 1
            monitorexit
         3: areturn
         4: .line 95
      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: .line 100
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            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: .line 101
            aload 0 /* this */
            areturn
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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 // io.vertx.ext.mongo.impl.PublisherAdapter this
         0: .line 106
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         1: .line 107
            aload 0 /* this */
            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: .line 108
            aload 0 /* this */
            aload 1
            monitorexit
         3: areturn
         4: .line 106
      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: .line 111
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            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: .line 112
            aload 0 /* this */
            areturn
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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 // io.vertx.ext.mongo.impl.PublisherAdapter this
        start local 1 // long amount
         0: .line 117
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         1: .line 118
            aload 0 /* this */
            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: .line 119
            aload 0 /* this */
            aload 3
            monitorexit
         3: areturn
         4: .line 117
      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: .line 122
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.internalQueue:Lio/vertx/core/streams/impl/InboundBuffer;
            lload 1 /* amount */
            invokevirtual io.vertx.core.streams.impl.InboundBuffer.fetch:(J)Z
            pop
         9: .line 123
            aload 0 /* this */
            areturn
        end local 1 // long amount
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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 // io.vertx.ext.mongo.impl.PublisherAdapter this
        start local 1 // io.vertx.core.Handler endHandler
         0: .line 128
            aload 0 /* this */
            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: .line 129
            aload 0 /* this */
            aload 1 /* endHandler */
            putfield io.vertx.ext.mongo.impl.PublisherAdapter.endHandler:Lio/vertx/core/Handler;
         2: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler endHandler
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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 // io.vertx.ext.mongo.impl.PublisherAdapter this
        start local 1 // java.lang.Object item
         0: .line 135
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 136
            aload 0 /* this */
            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: .line 137
            aload 2
            monitorexit
         3: return
         4: .line 139
      StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter
      StackMap stack:
            aload 0 /* this */
            dup
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.inFlight:I
            iconst_1
            iadd
            putfield io.vertx.ext.mongo.impl.PublisherAdapter.inFlight:I
         5: .line 135
            aload 2
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 2
            monitorexit
         8: athrow
         9: .line 141
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.internalQueue:Lio/vertx/core/streams/impl/InboundBuffer;
            aload 1 /* item */
            invokevirtual io.vertx.core.streams.impl.InboundBuffer.write:(Ljava/lang/Object;)Z
            pop
        10: .line 142
            return
        end local 1 // java.lang.Object item
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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 // io.vertx.ext.mongo.impl.PublisherAdapter this
        start local 1 // java.lang.Object item
         0: .line 145
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 146
            aload 0 /* this */
            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: .line 147
            aload 2
            monitorexit
         3: return
         4: .line 149
      StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter
      StackMap stack:
            aload 0 /* this */
            dup
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.inFlight:I
            iconst_1
            isub
            putfield io.vertx.ext.mongo.impl.PublisherAdapter.inFlight:I
         5: .line 145
            aload 2
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 2
            monitorexit
         8: athrow
         9: .line 151
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.handler:Lio/vertx/core/Handler;
            aload 1 /* item */
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        10: .line 153
            aload 0 /* this */
            dup
            astore 3
            monitorenter
        11: .line 154
            aload 0 /* this */
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.inFlight:I
            ifeq 14
        12: .line 155
            aload 3
            monitorexit
        13: return
        14: .line 157
      StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter java.lang.Object top io.vertx.ext.mongo.impl.PublisherAdapter
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.state:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
            astore 2 /* s */
        start local 2 // io.vertx.ext.mongo.impl.PublisherAdapter$State s
        15: .line 153
            aload 3
            monitorexit
        16: goto 19
        end local 2 // io.vertx.ext.mongo.impl.PublisherAdapter$State s
      StackMap locals:
      StackMap stack: java.lang.Throwable
        17: aload 3
            monitorexit
        18: athrow
        start local 2 // io.vertx.ext.mongo.impl.PublisherAdapter$State s
        19: .line 159
      StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter java.lang.Object io.vertx.ext.mongo.impl.PublisherAdapter$State
      StackMap stack:
            aload 2 /* s */
            getstatic io.vertx.ext.mongo.impl.PublisherAdapter$State.EXHAUSTED:Lio/vertx/ext/mongo/impl/PublisherAdapter$State;
            if_acmpne 23
        20: .line 160
            aload 0 /* this */
            invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.stop:()V
        21: .line 161
            aload 0 /* this */
            invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.handleEnd:()V
        22: .line 162
            goto 24
        23: .line 163
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.requestMore:()V
        24: .line 165
      StackMap locals:
      StackMap stack:
            return
        end local 2 // io.vertx.ext.mongo.impl.PublisherAdapter$State s
        end local 1 // java.lang.Object item
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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 // io.vertx.ext.mongo.impl.PublisherAdapter this
         0: .line 169
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 170
            aload 0 /* this */
            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: .line 171
            aload 2
            monitorexit
         3: return
         4: .line 173
      StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter top io.vertx.ext.mongo.impl.PublisherAdapter
      StackMap stack:
            aload 0 /* this */
            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: .line 174
            aload 0 /* this */
            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 /* stop */
        start local 1 // boolean stop
         8: .line 169
            aload 2
            monitorexit
         9: goto 12
        end local 1 // boolean stop
      StackMap locals:
      StackMap stack: java.lang.Throwable
        10: aload 2
            monitorexit
        11: athrow
        start local 1 // boolean stop
        12: .line 176
      StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter int
      StackMap stack:
            iload 1 /* stop */
            ifeq 15
        13: .line 177
            aload 0 /* this */
            invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.stop:()V
        14: .line 178
            aload 0 /* this */
            invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.handleEnd:()V
        15: .line 180
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean stop
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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 // io.vertx.ext.mongo.impl.PublisherAdapter this
        start local 1 // java.lang.Throwable cause
         0: .line 184
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         1: .line 185
            aload 0 /* this */
            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 /* this */
            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 /* h */
        start local 2 // io.vertx.core.Handler h
         4: .line 184
            aload 3
            monitorexit
         5: goto 8
        end local 2 // io.vertx.core.Handler h
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 3
            monitorexit
         7: athrow
        start local 2 // io.vertx.core.Handler h
         8: .line 187
      StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter java.lang.Throwable io.vertx.core.Handler
      StackMap stack:
            aload 2 /* h */
            ifnull 11
         9: .line 188
            aload 0 /* this */
            invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.stop:()V
        10: .line 189
            aload 2 /* h */
            aload 1 /* cause */
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        11: .line 191
      StackMap locals:
      StackMap stack:
            return
        end local 2 // io.vertx.core.Handler h
        end local 1 // java.lang.Throwable cause
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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 // io.vertx.ext.mongo.impl.PublisherAdapter this
         0: .line 195
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 196
            aload 0 /* this */
            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: .line 197
            aload 2
            monitorexit
         3: return
         4: .line 199
      StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter top io.vertx.ext.mongo.impl.PublisherAdapter
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.subscription:Lorg/reactivestreams/Subscription;
            astore 1 /* s */
        start local 1 // org.reactivestreams.Subscription s
         5: .line 195
            aload 2
            monitorexit
         6: goto 9
        end local 1 // org.reactivestreams.Subscription s
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 2
            monitorexit
         8: athrow
        start local 1 // org.reactivestreams.Subscription s
         9: .line 201
      StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter org.reactivestreams.Subscription
      StackMap stack:
            aload 1 /* s */
            aload 0 /* this */
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.batchSize:I
            i2l
            invokeinterface org.reactivestreams.Subscription.request:(J)V
        10: .line 202
            return
        end local 1 // org.reactivestreams.Subscription s
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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 // io.vertx.ext.mongo.impl.PublisherAdapter this
         0: .line 206
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 207
            aload 0 /* this */
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.endHandler:Lio/vertx/core/Handler;
            astore 1 /* h */
        start local 1 // io.vertx.core.Handler h
         2: .line 206
            aload 2
            monitorexit
         3: goto 6
        end local 1 // io.vertx.core.Handler h
      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 // io.vertx.core.Handler h
         6: .line 209
      StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter io.vertx.core.Handler
      StackMap stack:
            aload 1 /* h */
            ifnull 8
         7: .line 210
            aload 1 /* h */
            aconst_null
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
         8: .line 212
      StackMap locals:
      StackMap stack:
            return
        end local 1 // io.vertx.core.Handler h
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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 // io.vertx.ext.mongo.impl.PublisherAdapter this
         0: .line 216
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 217
            aload 0 /* this */
            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: .line 218
            aload 0 /* this */
            getfield io.vertx.ext.mongo.impl.PublisherAdapter.subscription:Lorg/reactivestreams/Subscription;
            astore 1 /* s */
        start local 1 // org.reactivestreams.Subscription s
         3: .line 216
            aload 2
            monitorexit
         4: goto 7
        end local 1 // org.reactivestreams.Subscription s
      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 // org.reactivestreams.Subscription s
         7: .line 220
      StackMap locals: io.vertx.ext.mongo.impl.PublisherAdapter org.reactivestreams.Subscription
      StackMap stack:
            aload 0 /* this */
            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: .line 221
            aload 1 /* s */
            ifnull 10
         9: .line 222
            aload 1 /* s */
            invokeinterface org.reactivestreams.Subscription.cancel:()V
        10: .line 224
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.reactivestreams.Subscription s
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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: .line 1
            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 // io.vertx.ext.mongo.impl.PublisherAdapter this
        start local 1 // java.lang.Void v
         0: .line 73
            aload 0 /* this */
            invokevirtual io.vertx.ext.mongo.impl.PublisherAdapter.handleEnd:()V
            return
        end local 1 // java.lang.Void v
        end local 0 // io.vertx.ext.mongo.impl.PublisherAdapter this
      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