Class PendingWrite


  • public final class PendingWrite
    extends Object
    Some pending write which should be picked up later.
    • Method Detail

      • recycle

        public boolean recycle()
        Clear and recycle this instance.
      • failAndRecycle

        public boolean failAndRecycle​(Throwable cause)
        Fails the underlying Promise with the given cause and recycle this instance.
      • successAndRecycle

        public boolean successAndRecycle()
        Mark the underlying Promise successfully and recycle this instance.
      • recycleAndGet

        public Promise<Void> recycleAndGet()
        Recycle this instance and return the Promise.