@NoImplement public interface ClusterManager extends PrimaryClusterNodeListener
| Modifier and Type | Field and Description |
|---|---|
static String |
CLUSTER_MANAGER_ID |
| Modifier and Type | Method and Description |
|---|---|
String |
getClusterId() |
String |
getClusterNodeId() |
ClusterLocker |
getPrimaryNodePollingThread() |
InetSocketAddress |
getSocketAddress() |
default boolean |
isClientModeEnabled() |
boolean |
isPrimaryPollingInstance() |
void |
setAsPollingNode(boolean isPoller)
Configures the polling status of the current cluster node.
|
void |
shutdown()
Terminates the cluster gracefully waiting for operations to be completed.
|
int |
size() |
void |
terminate()
Terminates the cluster ungracefully forcing immediate shutdown.
|
onNotificationstatic final String CLUSTER_MANAGER_ID
boolean isPrimaryPollingInstance()
void setAsPollingNode(boolean isPoller)
isPoller - true if the node must poll, false otherwise.ClusterLocker getPrimaryNodePollingThread()
ClusterLocker for the cluster node.void terminate()
void shutdown()
int size()
String getClusterNodeId()
String getClusterId()
InetSocketAddress getSocketAddress()
default boolean isClientModeEnabled()
Copyright © 2006–2022 MuleSoft, Inc.. All rights reserved.