Class RedissonReactivePubSubCommands
java.lang.Object
org.redisson.spring.data.connection.RedissonReactivePubSubCommands
- All Implemented Interfaces:
org.springframework.data.redis.connection.ReactivePubSubCommands
public class RedissonReactivePubSubCommands
extends Object
implements org.springframework.data.redis.connection.ReactivePubSubCommands
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono
<org.springframework.data.redis.connection.ReactiveSubscription> createSubscription
(org.springframework.data.redis.connection.SubscriptionListener subscriptionListener) protected RedisClient
getEntry
(org.springframework.data.redis.connection.RedisClusterNode node) reactor.core.publisher.Mono
<Void> pSubscribe
(ByteBuffer... patterns) reactor.core.publisher.Flux
<Long> publish
(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveSubscription.ChannelMessage<ByteBuffer, ByteBuffer>> messageStream) reactor.core.publisher.Mono
<Void> subscribe
(ByteBuffer... channels) static byte[]
toByteArray
(ByteBuffer buffer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.redis.connection.ReactivePubSubCommands
createSubscription, publish
-
Method Details
-
publish
public reactor.core.publisher.Flux<Long> publish(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveSubscription.ChannelMessage<ByteBuffer, ByteBuffer>> messageStream) - Specified by:
publish
in interfaceorg.springframework.data.redis.connection.ReactivePubSubCommands
-
subscribe
- Specified by:
subscribe
in interfaceorg.springframework.data.redis.connection.ReactivePubSubCommands
-
pSubscribe
- Specified by:
pSubscribe
in interfaceorg.springframework.data.redis.connection.ReactivePubSubCommands
-
createSubscription
public reactor.core.publisher.Mono<org.springframework.data.redis.connection.ReactiveSubscription> createSubscription(org.springframework.data.redis.connection.SubscriptionListener subscriptionListener) - Specified by:
createSubscription
in interfaceorg.springframework.data.redis.connection.ReactivePubSubCommands
-
toByteArray
-
getEntry
-