Class FutureWriteCallback

java.lang.Object
org.eclipse.jetty.util.FutureCallback
org.eclipse.jetty.websocket.common.io.FutureWriteCallback
All Implemented Interfaces:
Future<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 final org.eclipse.jetty.util.log.Logger
     

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Callback invoked when the write fails.
    void
    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 Details

    • LOG

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

    • FutureWriteCallback

      public FutureWriteCallback()
  • Method Details