Class SlowWriteStream

java.lang.Object
net.bluemind.core.rest.base.SlowWriteStream
All Implemented Interfaces:
io.vertx.core.streams.StreamBase, io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>

public class SlowWriteStream extends Object implements io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
    drainHandler(io.vertx.core.Handler<Void> handler)
     
    io.vertx.core.Future<Void>
    end()
     
    void
    end(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
     
    io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
    exceptionHandler(io.vertx.core.Handler<Throwable> handler)
     
    io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
    setWriteQueueMaxSize(int maxSize)
     
    io.vertx.core.Future<Void>
    write(io.vertx.core.buffer.Buffer data)
     
    void
    write(io.vertx.core.buffer.Buffer data, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
     
    boolean
     

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.vertx.core.streams.WriteStream Link icon

    end, end
  • Constructor Details Link icon

    • SlowWriteStream Link icon

      public SlowWriteStream()
  • Method Details Link icon

    • exceptionHandler Link icon

      public io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> exceptionHandler(io.vertx.core.Handler<Throwable> handler)
      Specified by:
      exceptionHandler in interface io.vertx.core.streams.StreamBase
      Specified by:
      exceptionHandler in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
    • write Link icon

      public io.vertx.core.Future<Void> write(io.vertx.core.buffer.Buffer data)
      Specified by:
      write in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
    • write Link icon

      public void write(io.vertx.core.buffer.Buffer data, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
      Specified by:
      write in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
    • end Link icon

      public io.vertx.core.Future<Void> end()
      Specified by:
      end in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
    • end Link icon

      public void end(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
      Specified by:
      end in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
    • setWriteQueueMaxSize Link icon

      public io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> setWriteQueueMaxSize(int maxSize)
      Specified by:
      setWriteQueueMaxSize in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
    • writeQueueFull Link icon

      public boolean writeQueueFull()
      Specified by:
      writeQueueFull in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
    • drainHandler Link icon

      public io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> drainHandler(io.vertx.core.Handler<Void> handler)
      Specified by:
      drainHandler in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>