public abstract class GenericJsonObjectWriteStream<T> extends java.lang.Object implements org.vertx.java.core.streams.WriteStream<GenericJsonObjectWriteStream<T>>
Constructor and Description |
---|
GenericJsonObjectWriteStream(java.lang.Class<T> type) |
Modifier and Type | Method and Description |
---|---|
GenericJsonObjectWriteStream<T> |
drainHandler(org.vertx.java.core.Handler<java.lang.Void> drainHandler) |
GenericJsonObjectWriteStream<T> |
exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> exceptionHandler) |
protected abstract void |
next(T value) |
GenericJsonObjectWriteStream<T> |
setWriteQueueMaxSize(int arg0) |
GenericJsonObjectWriteStream<T> |
write(org.vertx.java.core.buffer.Buffer buffer) |
boolean |
writeQueueFull() |
public GenericJsonObjectWriteStream(java.lang.Class<T> type)
public GenericJsonObjectWriteStream<T> drainHandler(org.vertx.java.core.Handler<java.lang.Void> drainHandler)
drainHandler
in interface org.vertx.java.core.streams.DrainSupport<GenericJsonObjectWriteStream<T>>
public GenericJsonObjectWriteStream<T> setWriteQueueMaxSize(int arg0)
setWriteQueueMaxSize
in interface org.vertx.java.core.streams.DrainSupport<GenericJsonObjectWriteStream<T>>
public boolean writeQueueFull()
writeQueueFull
in interface org.vertx.java.core.streams.DrainSupport<GenericJsonObjectWriteStream<T>>
public GenericJsonObjectWriteStream<T> write(org.vertx.java.core.buffer.Buffer buffer)
write
in interface org.vertx.java.core.streams.WriteStream<GenericJsonObjectWriteStream<T>>
protected abstract void next(T value) throws java.lang.Exception
java.lang.Exception
public GenericJsonObjectWriteStream<T> exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> exceptionHandler)
exceptionHandler
in interface org.vertx.java.core.streams.ExceptionSupport<GenericJsonObjectWriteStream<T>>
Copyright © 2021. All Rights Reserved.