java.lang.Object
io.vertx.mutiny.pgclient.pubsub.PgChannel
- All Implemented Interfaces:
io.vertx.mutiny.core.streams.ReadStream<String>,io.vertx.mutiny.core.streams.StreamBase
A channel to Postgres that tracks the subscription to a given Postgres channel using the
LISTEN/UNLISTEN commands.
When paused the channel discards the messages.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendHandler(Runnable endHandler) booleanexceptionHandler(Consumer<Throwable> handler) io.vertx.mutiny.core.streams.ReadStream<String> fetch(long arg0) io.vertx.pgclient.pubsub.PgChannelinthashCode()static PgChannelnewInstance(io.vertx.pgclient.pubsub.PgChannel arg) pause()io.vertx.mutiny.core.streams.Pipe<String> pipe()io.smallrye.mutiny.Uni<Void> pipeToAndAwait(io.vertx.mutiny.core.streams.WriteStream<String> dst) voidpipeToAndForget(io.vertx.mutiny.core.streams.WriteStream<String> dst) resume()subscribeHandler(Runnable handler) io.smallrye.mutiny.Multi<String> toMulti()toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
PgChannel
public PgChannel(io.vertx.pgclient.pubsub.PgChannel delegate) -
PgChannel
-
-
Method Details
-
getDelegate
public io.vertx.pgclient.pubsub.PgChannel getDelegate()- Specified by:
getDelegatein interfaceio.vertx.mutiny.core.streams.ReadStream<String>- Specified by:
getDelegatein interfaceio.vertx.mutiny.core.streams.StreamBase
-
toString
-
equals
-
hashCode
public int hashCode() -
fetch
- Specified by:
fetchin interfaceio.vertx.mutiny.core.streams.ReadStream<String>
-
pipe
- Specified by:
pipein interfaceio.vertx.mutiny.core.streams.ReadStream<String>
-
pipeTo
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> pipeTo(io.vertx.mutiny.core.streams.WriteStream<String> dst) - Specified by:
pipeToin interfaceio.vertx.mutiny.core.streams.ReadStream<String>
-
pipeToAndAwait
- Specified by:
pipeToAndAwaitin interfaceio.vertx.mutiny.core.streams.ReadStream<String>
-
pipeToAndForget
- Specified by:
pipeToAndForgetin interfaceio.vertx.mutiny.core.streams.ReadStream<String>
-
subscribeHandler
- Parameters:
handler- the handler- Returns:
-
handler
- Specified by:
handlerin interfaceio.vertx.mutiny.core.streams.ReadStream<String>- Parameters:
handler- the handler- Returns:
-
pause
- Specified by:
pausein interfaceio.vertx.mutiny.core.streams.ReadStream<String>- Returns:
- a reference to this, so the API can be used fluently
-
resume
- Specified by:
resumein interfaceio.vertx.mutiny.core.streams.ReadStream<String>- Returns:
- a reference to this, so the API can be used fluently
-
endHandler
- Specified by:
endHandlerin interfaceio.vertx.mutiny.core.streams.ReadStream<String>- Parameters:
endHandler- the handler- Returns:
-
exceptionHandler
- Specified by:
exceptionHandlerin interfaceio.vertx.mutiny.core.streams.ReadStream<String>- Specified by:
exceptionHandlerin interfaceio.vertx.mutiny.core.streams.StreamBase
-
toMulti
- Specified by:
toMultiin interfaceio.vertx.mutiny.core.streams.ReadStream<String>
-
toBlockingIterable
-
toBlockingStream
-
newInstance
-