Class AsyncQueueRecord<R>

    • Field Detail

      • message

        protected java.lang.Object message
      • isRecycled

        protected boolean isRecycled
    • Constructor Detail

      • AsyncQueueRecord

        protected AsyncQueueRecord()
      • AsyncQueueRecord

        public AsyncQueueRecord​(Connection connection,
                                java.lang.Object message,
                                CompletionHandler completionHandler)
    • Method Detail

      • getConnection

        public Connection getConnection()
      • getMessage

        public final <T> T getMessage()
      • setMessage

        public final void setMessage​(java.lang.Object message)
      • getCurrentResult

        public abstract R getCurrentResult()
        Returns the current record result object.
        Returns:
        the current record result object
      • notifyFailure

        public void notifyFailure​(java.lang.Throwable e)
      • notifyIncomplete

        public final void notifyIncomplete()
      • checkRecycled

        protected final void checkRecycled()