Class Generator.Result

    • Field Detail

      • callbacks

        private final java.util.List<Callback> callbacks
      • buffers

        private final java.util.List<java.nio.ByteBuffer> buffers
      • recycles

        private final java.util.List<java.lang.Boolean> recycles
    • Method Detail

      • append

        public Generator.Result append​(java.nio.ByteBuffer buffer,
                                       boolean recycle)
      • getByteBuffers

        public java.nio.ByteBuffer[] getByteBuffers()
      • failed

        public void failed​(java.lang.Throwable x)
        Description copied from interface: Callback

        Callback invoked when the operation fails.

        Specified by:
        failed in interface Callback
        Parameters:
        x - the reason for the operation failure
      • recycle

        protected void recycle()