public interface PgStream<T>
extends io.vertx.core.streams.ReadStream<T>
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the stream and release the resources.
|
void |
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
Close the stream and release the resources.
|
PgStream<T> |
endHandler(io.vertx.core.Handler<Void> endHandler) |
PgStream<T> |
exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
PgStream<T> |
handler(io.vertx.core.Handler<T> handler) |
PgStream<T> |
pause() |
PgStream<T> |
resume() |
PgStream<T> exceptionHandler(io.vertx.core.Handler<Throwable> handler)
exceptionHandler
in interface io.vertx.core.streams.ReadStream<T>
exceptionHandler
in interface io.vertx.core.streams.StreamBase
PgStream<T> handler(io.vertx.core.Handler<T> handler)
handler
in interface io.vertx.core.streams.ReadStream<T>
PgStream<T> endHandler(io.vertx.core.Handler<Void> endHandler)
endHandler
in interface io.vertx.core.streams.ReadStream<T>
void close()
void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
completionHandler
- the completion handler for this operationCopyright © 2019 Eclipse. All rights reserved.