public class AccumulatorStream extends java.lang.Object implements org.vertx.java.core.streams.WriteStream<AccumulatorStream>
Constructor and Description |
---|
AccumulatorStream() |
Modifier and Type | Method and Description |
---|---|
org.vertx.java.core.buffer.Buffer |
buffer() |
AccumulatorStream |
drainHandler(org.vertx.java.core.Handler<java.lang.Void> handler) |
AccumulatorStream |
exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> handler) |
AccumulatorStream |
setWriteQueueMaxSize(int maxSize) |
AccumulatorStream |
write(org.vertx.java.core.buffer.Buffer data) |
boolean |
writeQueueFull() |
public AccumulatorStream exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> handler)
exceptionHandler
in interface org.vertx.java.core.streams.ExceptionSupport<AccumulatorStream>
public AccumulatorStream setWriteQueueMaxSize(int maxSize)
setWriteQueueMaxSize
in interface org.vertx.java.core.streams.DrainSupport<AccumulatorStream>
public boolean writeQueueFull()
writeQueueFull
in interface org.vertx.java.core.streams.DrainSupport<AccumulatorStream>
public AccumulatorStream drainHandler(org.vertx.java.core.Handler<java.lang.Void> handler)
drainHandler
in interface org.vertx.java.core.streams.DrainSupport<AccumulatorStream>
public AccumulatorStream write(org.vertx.java.core.buffer.Buffer data)
write
in interface org.vertx.java.core.streams.WriteStream<AccumulatorStream>
public org.vertx.java.core.buffer.Buffer buffer()
Copyright © 2021. All Rights Reserved.