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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<org.springframework.data.redis.connection.ReactiveSubscription>createSubscription()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)
-
-
-
Method Detail
-
createSubscription
public reactor.core.publisher.Mono<org.springframework.data.redis.connection.ReactiveSubscription> createSubscription()
- Specified by:
createSubscriptionin interfaceorg.springframework.data.redis.connection.ReactivePubSubCommands
-
publish
public reactor.core.publisher.Flux<Long> publish(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveSubscription.ChannelMessage<ByteBuffer,ByteBuffer>> messageStream)
- Specified by:
publishin interfaceorg.springframework.data.redis.connection.ReactivePubSubCommands
-
subscribe
public reactor.core.publisher.Mono<Void> subscribe(ByteBuffer... channels)
- Specified by:
subscribein interfaceorg.springframework.data.redis.connection.ReactivePubSubCommands
-
pSubscribe
public reactor.core.publisher.Mono<Void> pSubscribe(ByteBuffer... patterns)
- Specified by:
pSubscribein interfaceorg.springframework.data.redis.connection.ReactivePubSubCommands
-
toByteArray
public static byte[] toByteArray(ByteBuffer buffer)
-
-