Package net.bluemind.core.rest.base
Class MonitoredReadStream
java.lang.Object
net.bluemind.core.rest.base.MonitoredReadStream
- All Implemented Interfaces:
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
,io.vertx.core.streams.StreamBase
public class MonitoredReadStream
extends Object
implements io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
Constructor Summary
ConstructorDescriptionMonitoredReadStream
(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream, BMExecutor.BMTaskMonitor monitor) -
Method Summary
Modifier and TypeMethodDescriptionendHandler
(io.vertx.core.Handler<Void> endHandler) exceptionHandler
(io.vertx.core.Handler<Throwable> handler) io.vertx.core.streams.ReadStream
<io.vertx.core.buffer.Buffer> fetch
(long amount) handler
(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) pause()
resume()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.vertx.core.streams.ReadStream
pipe, pipeTo, pipeTo
-
Constructor Details
-
MonitoredReadStream
public MonitoredReadStream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream, BMExecutor.BMTaskMonitor monitor)
-
-
Method Details
-
handler
- Specified by:
handler
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
pause
- Specified by:
pause
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
resume
- Specified by:
resume
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
exceptionHandler
- Specified by:
exceptionHandler
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
- Specified by:
exceptionHandler
in interfaceio.vertx.core.streams.StreamBase
-
endHandler
- Specified by:
endHandler
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
fetch
public io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> fetch(long amount) - Specified by:
fetch
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
toString
-