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