@Deprecated public abstract class AbstractClusterEventBroker extends Object implements EventBroker
| 限定符和类型 | 字段和说明 |
|---|---|
protected ClusterManager |
clusterManager
已过时。
|
protected reactor.core.Disposable.Composite |
disposable
已过时。
|
protected org.springframework.data.redis.core.ReactiveRedisOperations<String,byte[]> |
redis
已过时。
|
protected Codec<Subscription> |
subscriptionCodec
已过时。
|
| 构造器和说明 |
|---|
AbstractClusterEventBroker(ClusterManager clusterManager,
org.springframework.data.redis.connection.ReactiveRedisConnectionFactory factory)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
reactor.core.publisher.Flux<EventConnection> |
accept()
已过时。
|
protected abstract reactor.core.publisher.Mono<Void> |
dispatch(String localId,
String brokerId,
TopicPayload payload)
已过时。
|
String |
getId()
已过时。
|
protected void |
handleRemoteConnection(String localId,
String remoteId)
已过时。
|
protected void |
handleServerNodeJoin(ServerNode node)
已过时。
|
protected void |
handleServerNodeLeave(ServerNode node)
已过时。
|
protected abstract reactor.core.publisher.Flux<TopicPayload> |
listen(String localId,
String brokerId)
已过时。
|
protected org.jetlinks.supports.cluster.event.AbstractClusterEventBroker.ClusterConnecting |
onConnectionCreated(org.jetlinks.supports.cluster.event.AbstractClusterEventBroker.ClusterConnecting clusterConnecting)
已过时。
|
void |
shutdown()
已过时。
|
void |
startup()
已过时。
|
protected final org.springframework.data.redis.core.ReactiveRedisOperations<String,byte[]> redis
protected final ClusterManager clusterManager
protected final Codec<Subscription> subscriptionCodec
protected final reactor.core.Disposable.Composite disposable
public AbstractClusterEventBroker(ClusterManager clusterManager, org.springframework.data.redis.connection.ReactiveRedisConnectionFactory factory)
public void startup()
public void shutdown()
protected void handleServerNodeJoin(ServerNode node)
protected void handleServerNodeLeave(ServerNode node)
protected org.jetlinks.supports.cluster.event.AbstractClusterEventBroker.ClusterConnecting onConnectionCreated(org.jetlinks.supports.cluster.event.AbstractClusterEventBroker.ClusterConnecting clusterConnecting)
public String getId()
getId 在接口中 EventBrokerpublic reactor.core.publisher.Flux<EventConnection> accept()
accept 在接口中 EventBrokerprotected abstract reactor.core.publisher.Flux<TopicPayload> listen(String localId, String brokerId)
protected abstract reactor.core.publisher.Mono<Void> dispatch(String localId, String brokerId, TopicPayload payload)
Copyright © 2019–2023. All rights reserved.