public class RedissonReactivePubSubCommands extends Object implements org.springframework.data.redis.connection.ReactivePubSubCommands
| Modifier and Type | Method and 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) |
public reactor.core.publisher.Mono<org.springframework.data.redis.connection.ReactiveSubscription> createSubscription()
createSubscription in interface org.springframework.data.redis.connection.ReactivePubSubCommandspublic reactor.core.publisher.Flux<Long> publish(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveSubscription.ChannelMessage<ByteBuffer,ByteBuffer>> messageStream)
publish in interface org.springframework.data.redis.connection.ReactivePubSubCommandspublic reactor.core.publisher.Mono<Void> subscribe(ByteBuffer... channels)
subscribe in interface org.springframework.data.redis.connection.ReactivePubSubCommandspublic reactor.core.publisher.Mono<Void> pSubscribe(ByteBuffer... patterns)
pSubscribe in interface org.springframework.data.redis.connection.ReactivePubSubCommandspublic static byte[] toByteArray(ByteBuffer buffer)
Copyright © 2014–2020 Redisson. All rights reserved.