M
- the type of message objectRedissonTopicReactive
public interface RTopicReactive<M>
Modifier and Type | Method | Description |
---|---|---|
org.reactivestreams.Publisher<Integer> |
addListener(MessageListener<M> listener) |
|
org.reactivestreams.Publisher<Integer> |
addListener(StatusListener listener) |
|
List<String> |
getChannelNames() |
|
org.reactivestreams.Publisher<Long> |
publish(M message) |
Publish the message to all subscribers of this topic asynchronously
|
void |
removeListener(int listenerId) |
org.reactivestreams.Publisher<Long> publish(M message)
message
- to sendFuture
object with number of clients that received the messageorg.reactivestreams.Publisher<Integer> addListener(StatusListener listener)
org.reactivestreams.Publisher<Integer> addListener(MessageListener<M> listener)
void removeListener(int listenerId)
Copyright © 2014–2018 The Redisson Project. All rights reserved.