public class MonitoredReadStream extends java.lang.Object implements org.vertx.java.core.streams.ReadStream<MonitoredReadStream>
Constructor and Description |
---|
MonitoredReadStream(org.vertx.java.core.streams.ReadStream<?> stream,
BMExecutor.BMTaskMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
MonitoredReadStream |
dataHandler(org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer> handler) |
MonitoredReadStream |
endHandler(org.vertx.java.core.Handler<java.lang.Void> endHandler) |
MonitoredReadStream |
exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> handler) |
MonitoredReadStream |
pause() |
MonitoredReadStream |
resume() |
public MonitoredReadStream(org.vertx.java.core.streams.ReadStream<?> stream, BMExecutor.BMTaskMonitor monitor)
public MonitoredReadStream dataHandler(org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer> handler)
dataHandler
in interface org.vertx.java.core.streams.ReadSupport<MonitoredReadStream,org.vertx.java.core.buffer.Buffer>
public MonitoredReadStream pause()
pause
in interface org.vertx.java.core.streams.ReadSupport<MonitoredReadStream,org.vertx.java.core.buffer.Buffer>
public MonitoredReadStream resume()
resume
in interface org.vertx.java.core.streams.ReadSupport<MonitoredReadStream,org.vertx.java.core.buffer.Buffer>
public MonitoredReadStream exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> handler)
exceptionHandler
in interface org.vertx.java.core.streams.ExceptionSupport<MonitoredReadStream>
public MonitoredReadStream endHandler(org.vertx.java.core.Handler<java.lang.Void> endHandler)
endHandler
in interface org.vertx.java.core.streams.ReadStream<MonitoredReadStream>
Copyright © 2021. All Rights Reserved.