Class BlockingWriteCallback.WriteBlocker

  • All Implemented Interfaces:
    AutoCloseable, org.eclipse.jetty.util.Callback, org.eclipse.jetty.util.thread.Invocable, org.eclipse.jetty.websocket.api.WriteCallback
    Enclosing class:
    BlockingWriteCallback

    public static class BlockingWriteCallback.WriteBlocker
    extends Object
    implements org.eclipse.jetty.websocket.api.WriteCallback, org.eclipse.jetty.util.Callback, AutoCloseable
    • 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.Nested
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable

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

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

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

        __nonBlocking
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected WriteBlocker​(org.eclipse.jetty.util.SharedBlockingCallback.Blocker blocker)  
    • Constructor Detail

      • WriteBlocker

        protected WriteBlocker​(org.eclipse.jetty.util.SharedBlockingCallback.Blocker blocker)
    • Method Detail

      • getInvocationType

        public org.eclipse.jetty.util.thread.Invocable.InvocationType getInvocationType()
        Specified by:
        getInvocationType in interface org.eclipse.jetty.util.thread.Invocable
      • writeFailed

        public void writeFailed​(Throwable x)
        Specified by:
        writeFailed in interface org.eclipse.jetty.websocket.api.WriteCallback
      • writeSuccess

        public void writeSuccess()
        Specified by:
        writeSuccess in interface org.eclipse.jetty.websocket.api.WriteCallback
      • succeeded

        public void succeeded()
        Specified by:
        succeeded in interface org.eclipse.jetty.util.Callback
      • failed

        public void failed​(Throwable x)
        Specified by:
        failed in interface org.eclipse.jetty.util.Callback