| Modifier and Type | Field and Description |
|---|---|
| private final NetClient | |
| private final CloseFuture | |
| private final ClusterManager | |
| private final ConcurrentMap | |
| private final ContextInternal | |
| private final AtomicLong | |
| private static final Logger | |
| private String | |
| private NodeInfo | |
| private final NodeSelector | |
| private final EventBusOptions | |
| private static final Buffer | |
| private NetServer |
| Access | Constructor and Description |
|---|---|
| public | ClusteredEventBus(VertxInternal vertx, VertxOptions options, ClusterManager clusterManager, NodeSelector nodeSelector)
|
| client | back to summary |
|---|---|
| private final NetClient client | |
| closeFuture | back to summary |
|---|---|
| private final CloseFuture closeFuture | |
| clusterManager | back to summary |
|---|---|
| private final ClusterManager clusterManager | |
| connections | back to summary |
|---|---|
| private final ConcurrentMap<String, ConnectionHolder> connections | |
| ebContext | back to summary |
|---|---|
| private final ContextInternal ebContext | |
| handlerSequence | back to summary |
|---|---|
| private final AtomicLong handlerSequence | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| nodeId | back to summary |
|---|---|
| private String nodeId | |
| nodeInfo | back to summary |
|---|---|
| private NodeInfo nodeInfo
References Deprecated
See corresponding docs for further information. | |
| nodeSelector | back to summary |
|---|---|
| private final NodeSelector nodeSelector | |
| options | back to summary |
|---|---|
| private final EventBusOptions options | |
| PONG | back to summary |
|---|---|
| private static final Buffer PONG
References Deprecated
See corresponding docs for further information. | |
| server | back to summary |
|---|---|
| private NetServer server | |
| ClusteredEventBus | back to summary |
|---|---|
| public ClusteredEventBus(VertxInternal vertx, VertxOptions options, ClusterManager clusterManager, NodeSelector nodeSelector) | |
| client | back to summary |
|---|---|
| pack-priv NetClient client() | |
| close | back to summary |
|---|---|
| public void close(Promise<Void> promise) Overrides io. Implements io. Doc from io. Close the event bus and release any resources held.
| |
| clusteredSendReply | back to summary |
|---|---|
| private <T> void clusteredSendReply(String replyDest, OutboundDeliveryContext<T> sendContext) | |
| connections | back to summary |
|---|---|
| pack-priv ConcurrentMap | |
| createHandlerHolder | back to summary |
|---|---|
| protected <T> HandlerHolder Overrides io.
| |
| createMessage | back to summary |
|---|---|
| public MessageImpl Overrides io.
| |
| createNetClient | back to summary |
|---|---|
| private NetClient createNetClient(VertxInternal vertx, NetClientOptions clientOptions, CloseFuture closeFuture) | |
| generateReplyAddress | back to summary |
|---|---|
| protected String generateReplyAddress() Overrides io.
| |
| getClusterHost | back to summary |
|---|---|
| private String getClusterHost() | |
| getClusterPort | back to summary |
|---|---|
| private int getClusterPort() | |
| getClusterPublicHost | back to summary |
|---|---|
| private String getClusterPublicHost(String host) | |
| getClusterPublicPort | back to summary |
|---|---|
| private int getClusterPublicPort(int actualPort) | |
| getServerHandler | back to summary |
|---|---|
| private Handler | |
| getServerOptions | back to summary |
|---|---|
| private NetServerOptions getServerOptions() | |
| isMessageLocal | back to summary |
|---|---|
| protected boolean isMessageLocal(MessageImpl<U, V> msg) Overrides io.
| |
| nextHandler | back to summary |
|---|---|
| protected HandlerHolder Overrides io.
| |
| onLocalRegistration | back to summary |
|---|---|
| protected <T> void onLocalRegistration(HandlerHolder<T> handlerHolder, Promise<Void> promise) Overrides io.
| |
| onLocalUnregistration | back to summary |
|---|---|
| protected <T> void onLocalUnregistration(HandlerHolder<T> handlerHolder, Promise<Void> completionHandler) Overrides io.
| |
| options | back to summary |
|---|---|
| pack-priv EventBusOptions options() | |
| sendOrPub | back to summary |
|---|---|
| protected <T> void sendOrPub(OutboundDeliveryContext<T> sendContext) Overrides io.
| |
| sendOrPublishFailed | back to summary |
|---|---|
| private void sendOrPublishFailed(OutboundDeliveryContext<?> sendContext, Throwable cause) | |
| sendRemote | back to summary |
|---|---|
| private void sendRemote(OutboundDeliveryContext<?> sendContext, String remoteNodeId, MessageImpl<U, V> message) | |
| sendToNode | back to summary |
|---|---|
| private <T> void sendToNode(OutboundDeliveryContext<T> sendContext, String nodeId) | |
| sendToNodes | back to summary |
|---|---|
| private <T> void sendToNodes(OutboundDeliveryContext<T> sendContext, Iterable<String> nodeIds) | |
| start | back to summary |
|---|---|
| public void start(Promise<Void> promise) Overrides io. Implements io. Doc from io. Start the event bus.
| |
| vertx | back to summary |
|---|---|
| pack-priv VertxInternal vertx() | |