Package net.bluemind.core.rest.base
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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> drainHandler(io.vertx.core.Handler<Void> handler) io.vertx.core.Future<Void> end()voidio.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) voidwrite(io.vertx.core.buffer.Buffer data, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertx.core.streams.WriteStream
end, end 
- 
Constructor Details
- 
SlowWriteStream
public SlowWriteStream() 
 - 
 - 
Method Details
- 
exceptionHandler
public io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> exceptionHandler(io.vertx.core.Handler<Throwable> handler) - Specified by:
 exceptionHandlerin interfaceio.vertx.core.streams.StreamBase- Specified by:
 exceptionHandlerin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
write
- Specified by:
 writein interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
write
public void write(io.vertx.core.buffer.Buffer data, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) - Specified by:
 writein interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
end
- Specified by:
 endin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
end
- Specified by:
 endin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
setWriteQueueMaxSize
public io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> setWriteQueueMaxSize(int maxSize) - Specified by:
 setWriteQueueMaxSizein interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
writeQueueFull
public boolean writeQueueFull()- Specified by:
 writeQueueFullin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 - 
drainHandler
public io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> drainHandler(io.vertx.core.Handler<Void> handler) - Specified by:
 drainHandlerin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
 
 -