Uses of Interface
io.quarkus.redis.datasource.pubsub.PubSubCommands.RedisSubscriber
-
Uses of PubSubCommands.RedisSubscriber in io.quarkus.redis.datasource.pubsub
Modifier and TypeMethodDescriptionSubscribes to a given channel.PubSubCommands.subscribe
(String channel, Consumer<V> onMessage, Runnable onEnd, Consumer<Throwable> onException) Subscribes to a given channel.PubSubCommands.subscribe
(List<String> channels, BiConsumer<String, V> onMessage, Runnable onEnd, Consumer<Throwable> onException) Same asPubSubCommands.subscribe(List, Consumer, Runnable, Consumer)
but also receives the channel name.Subscribes to the given channels.PubSubCommands.subscribe
(List<String> channels, Consumer<V> onMessage, Runnable onEnd, Consumer<Throwable> onException) Subscribes to the given channels.PubSubCommands.subscribeToPattern
(String pattern, BiConsumer<String, V> onMessage) Same asPubSubCommands.subscribeToPattern(String, Consumer)
, but instead of receiving only the message payload, it also receives the name of the channel.PubSubCommands.subscribeToPattern
(String pattern, BiConsumer<String, V> onMessage, Runnable onEnd, Consumer<Throwable> onException) Same asPubSubCommands.subscribeToPatterns(List, Consumer, Runnable, Consumer)
, but also receives the channel name.PubSubCommands.subscribeToPattern
(String pattern, Consumer<V> onMessage) Subscribes to a given pattern likechan*l
.PubSubCommands.subscribeToPattern
(String pattern, Consumer<V> onMessage, Runnable onEnd, Consumer<Throwable> onException) Subscribes to a given pattern likechan*l
.PubSubCommands.subscribeToPatterns
(List<String> patterns, BiConsumer<String, V> onMessage) Same asPubSubCommands.subscribeToPatterns(List, Consumer)
, but instead of only receiving the payload, it also receives the channel name.PubSubCommands.subscribeToPatterns
(List<String> patterns, BiConsumer<String, V> onMessage, Runnable onEnd, Consumer<Throwable> onException) Same asPubSubCommands.subscribeToPatterns(List, Consumer, Runnable, Consumer)
, but also receive the channel name.PubSubCommands.subscribeToPatterns
(List<String> patterns, Consumer<V> onMessage) Subscribes to the given patterns likechan*l
.PubSubCommands.subscribeToPatterns
(List<String> patterns, Consumer<V> onMessage, Runnable onEnd, Consumer<Throwable> onException) Subscribes to the given patterns likechan*l
. -
Uses of PubSubCommands.RedisSubscriber in io.quarkus.redis.runtime.datasource
Modifier and TypeMethodDescriptionBlockingPubSubCommandsImpl.subscribe
(String channel, Consumer<V> onMessage, Runnable onEnd, Consumer<Throwable> onException) BlockingPubSubCommandsImpl.subscribe
(List<String> channels, BiConsumer<String, V> onMessage, Runnable onEnd, Consumer<Throwable> onException) BlockingPubSubCommandsImpl.subscribe
(List<String> channels, Consumer<V> onMessage, Runnable onEnd, Consumer<Throwable> onException) BlockingPubSubCommandsImpl.subscribeToPattern
(String pattern, BiConsumer<String, V> onMessage) BlockingPubSubCommandsImpl.subscribeToPattern
(String pattern, BiConsumer<String, V> onMessage, Runnable onEnd, Consumer<Throwable> onException) BlockingPubSubCommandsImpl.subscribeToPattern
(String pattern, Consumer<V> onMessage) BlockingPubSubCommandsImpl.subscribeToPattern
(String pattern, Consumer<V> onMessage, Runnable onEnd, Consumer<Throwable> onException) BlockingPubSubCommandsImpl.subscribeToPatterns
(List<String> patterns, BiConsumer<String, V> onMessage) BlockingPubSubCommandsImpl.subscribeToPatterns
(List<String> patterns, BiConsumer<String, V> onMessage, Runnable onEnd, Consumer<Throwable> onException) BlockingPubSubCommandsImpl.subscribeToPatterns
(List<String> patterns, Consumer<V> onMessage) BlockingPubSubCommandsImpl.subscribeToPatterns
(List<String> patterns, Consumer<V> onMessage, Runnable onEnd, Consumer<Throwable> onException)