Class FutureWriteCallback

  • All Implemented Interfaces:
    java.util.concurrent.Future<java.lang.Void>, org.eclipse.jetty.util.Callback, org.eclipse.jetty.util.thread.Invocable, WriteCallback

    public class FutureWriteCallback
    extends org.eclipse.jetty.util.FutureCallback
    implements WriteCallback
    Allows events to a WriteCallback to drive a Future for the user.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback

        org.eclipse.jetty.util.Callback.Completable, org.eclipse.jetty.util.Callback.Completing, org.eclipse.jetty.util.Callback.Nested
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable

        org.eclipse.jetty.util.thread.Invocable.InvocationType
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.eclipse.jetty.util.log.Logger LOG  
      • Fields inherited from class org.eclipse.jetty.util.FutureCallback

        SUCCEEDED
      • Fields inherited from interface org.eclipse.jetty.util.Callback

        NOOP
      • Fields inherited from interface org.eclipse.jetty.util.thread.Invocable

        __nonBlocking
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void writeFailed​(java.lang.Throwable cause)
      Callback invoked when the write fails.
      void writeSuccess()
      Callback invoked when the write completes.
      • Methods inherited from class org.eclipse.jetty.util.FutureCallback

        cancel, failed, get, get, isCancelled, isDone, rethrow, succeeded, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.jetty.util.thread.Invocable

        getInvocationType
    • Field Detail

      • LOG

        private static final org.eclipse.jetty.util.log.Logger LOG
    • Constructor Detail

      • FutureWriteCallback

        public FutureWriteCallback()