public class RedisClusterNotifier extends Object implements ClusterNotifier
| 构造器和说明 |
|---|
RedisClusterNotifier(String clusterName,
String currentServerId,
ClusterManager clusterManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> reactor.core.publisher.Flux<T> |
handleNotify(String address) |
<T,R> reactor.core.publisher.Mono<Void> |
handleNotify(String address,
java.util.function.Function<T,org.reactivestreams.Publisher<R>> replyHandler) |
reactor.core.publisher.Mono<Boolean> |
sendNotify(String serverNodeId,
String address,
org.reactivestreams.Publisher<?> payload) |
<T> reactor.core.publisher.Flux<T> |
sendNotifyAndReceive(String serverNodeId,
String address,
org.reactivestreams.Publisher<?> payload) |
void |
startup() |
public RedisClusterNotifier(String clusterName, String currentServerId, ClusterManager clusterManager)
public void startup()
public reactor.core.publisher.Mono<Boolean> sendNotify(String serverNodeId, String address, org.reactivestreams.Publisher<?> payload)
sendNotify 在接口中 ClusterNotifierpublic <T> reactor.core.publisher.Flux<T> sendNotifyAndReceive(String serverNodeId, String address, org.reactivestreams.Publisher<?> payload)
sendNotifyAndReceive 在接口中 ClusterNotifierpublic <T> reactor.core.publisher.Flux<T> handleNotify(String address)
handleNotify 在接口中 ClusterNotifierpublic <T,R> reactor.core.publisher.Mono<Void> handleNotify(String address, java.util.function.Function<T,org.reactivestreams.Publisher<R>> replyHandler)
handleNotify 在接口中 ClusterNotifierCopyright © 2019–2023. All rights reserved.