| Modifier and Type | Method and Description |
|---|---|
NodeIdentifier |
ClusterCoordinator.getElectedActiveCoordinatorNode() |
NodeIdentifier |
ClusterCoordinator.getLocalNodeIdentifier() |
NodeIdentifier |
ClusterCoordinator.getNodeIdentifier(String uuid)
Returns the NodeIdentifier that exists that has the given UUID, or
null if no NodeIdentifier
exists for the given UUID |
NodeIdentifier |
ClusterCoordinator.getPrimaryNode() |
| Modifier and Type | Method and Description |
|---|---|
Map<NodeIdentifier,NodeWorkload> |
ClusterCoordinator.getClusterWorkload() |
Map<NodeConnectionState,List<NodeIdentifier>> |
ClusterCoordinator.getConnectionStates()
Returns a Map of NodeConnectionStates to all Node Identifiers that have that state.
|
Set<NodeIdentifier> |
ClusterCoordinator.getNodeIdentifiers(NodeConnectionState... states)
Returns the identifiers of all nodes that have the given connection state
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterCoordinator.disconnectionRequestedByNode(NodeIdentifier nodeId,
DisconnectionCode disconnectionCode,
String explanation)
Notifies the Cluster Coordinator that the node with the given ID has requested to disconnect
from the cluster.
|
void |
ClusterCoordinator.finishNodeConnection(NodeIdentifier nodeId)
Indicates that the node has sent a valid heartbeat and should now
be considered part of the cluster
|
void |
ClusterCoordinator.finishNodeOffload(NodeIdentifier nodeId)
Indicates that the node has finished being offloaded
|
NodeConnectionStatus |
ClusterCoordinator.getConnectionStatus(NodeIdentifier nodeId)
Returns the current status of the node with the given identifier
|
List<NodeEvent> |
ClusterCoordinator.getNodeEvents(NodeIdentifier nodeId)
Returns all of the events that have occurred for the given node
|
void |
ClusterTopologyEventListener.onLocalNodeIdentifierSet(NodeIdentifier localNodeId) |
void |
ClusterTopologyEventListener.onNodeAdded(NodeIdentifier nodeId) |
void |
ClusterTopologyEventListener.onNodeRemoved(NodeIdentifier nodeId) |
void |
ClusterTopologyEventListener.onNodeStateChange(NodeIdentifier nodeId,
NodeConnectionState newState) |
void |
ClusterCoordinator.removeNode(NodeIdentifier nodeId,
String userDn)
Removes the given disconnected node from the cluster
|
void |
ClusterCoordinator.reportEvent(NodeIdentifier nodeId,
Severity severity,
String event)
Reports that some event occurred that is relevant to the cluster
|
void |
ClusterCoordinator.requestNodeConnect(NodeIdentifier nodeId,
String userDn)
Sends a request to the node to connect to the cluster.
|
void |
ClusterCoordinator.requestNodeDisconnect(NodeIdentifier nodeId,
DisconnectionCode disconnectionCode,
String explanation)
Sends a request to the node to disconnect from the cluster.
|
void |
ClusterCoordinator.requestNodeOffload(NodeIdentifier nodeId,
OffloadCode offloadCode,
String explanation)
Sends a request to the node to be offloaded.
|
void |
ClusterCoordinator.setLocalNodeIdentifier(NodeIdentifier nodeId)
Notifies the Cluster Coordinator of the Node Identifier that the coordinator is currently running on
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterCoordinator.resetNodeStatuses(Map<NodeIdentifier,NodeConnectionStatus> statusMap)
Clears the current state of all nodes and replaces them with the values provided in the given map
|
| Modifier and Type | Method and Description |
|---|---|
NodeIdentifier |
NodeHeartbeat.getNodeIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
NodeHeartbeat |
HeartbeatMonitor.getLatestHeartbeat(NodeIdentifier nodeId)
Returns the latest heartbeat that has been obtained for the node with
the given id
|
void |
HeartbeatMonitor.removeHeartbeat(NodeIdentifier nodeId)
Removes the heartbeat for the given node from the monitor and the
remote location where heartbeats are sent
|
| Modifier and Type | Field and Description |
|---|---|
private NodeIdentifier |
NodeConnectionStatus.nodeId |
| Modifier and Type | Method and Description |
|---|---|
NodeIdentifier |
NodeConnectionStatus.getNodeIdentifier() |
| Constructor and Description |
|---|
NodeConnectionStatus(long updateId,
NodeIdentifier nodeId,
NodeConnectionState state,
OffloadCode offloadCode,
DisconnectionCode disconnectCode,
String reason,
Long connectionRequestTime) |
NodeConnectionStatus(NodeIdentifier nodeId,
DisconnectionCode disconnectionCode) |
NodeConnectionStatus(NodeIdentifier nodeId,
DisconnectionCode disconnectionCode,
String disconnectionExplanation) |
NodeConnectionStatus(NodeIdentifier nodeId,
NodeConnectionState state) |
NodeConnectionStatus(NodeIdentifier nodeId,
NodeConnectionState state,
DisconnectionCode disconnectionCode) |
NodeConnectionStatus(NodeIdentifier nodeId,
NodeConnectionState state,
OffloadCode offloadCode,
DisconnectionCode disconnectCode,
String reason,
Long connectionRequestTime) |
NodeConnectionStatus(NodeIdentifier nodeId,
NodeConnectionState state,
OffloadCode offloadCode,
String offloadExplanation) |
| Modifier and Type | Field and Description |
|---|---|
private NodeIdentifier |
Heartbeat.nodeIdentifier |
private NodeIdentifier |
ConnectionResponse.nodeIdentifier |
private NodeIdentifier |
NodeBulletins.nodeIdentifier |
private NodeIdentifier |
ConnectionRequest.proposedNodeIdentifier |
| Modifier and Type | Method and Description |
|---|---|
NodeIdentifier |
Heartbeat.getNodeIdentifier() |
NodeIdentifier |
ConnectionResponse.getNodeIdentifier() |
NodeIdentifier |
NodeBulletins.getNodeIdentifier() |
NodeIdentifier |
ConnectionRequest.getProposedNodeIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NodeIdentifier.logicallyEquals(NodeIdentifier other)
Compares API address/port and socket address/port for equality.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterCoordinationProtocolSender.notifyNodeStatusChange(Set<NodeIdentifier> nodesToNotify,
NodeStatusChangeMessage msg)
Notifies all nodes in the given set that a node in the cluster has a new status
|
| Constructor and Description |
|---|
ConnectionRequest(NodeIdentifier proposedNodeIdentifier,
DataFlow dataFlow) |
ConnectionResponse(NodeIdentifier nodeIdentifier,
DataFlow dataFlow,
String instanceId,
List<NodeConnectionStatus> nodeStatuses,
List<ComponentRevision> componentRevisions) |
Heartbeat(NodeIdentifier nodeIdentifier,
NodeConnectionStatus connectionStatus,
byte[] payload) |
NodeBulletins(NodeIdentifier nodeIdentifier,
byte[] payload) |
| Modifier and Type | Method and Description |
|---|---|
private NodeIdentifier |
SocketProtocolListener.getNodeIdentifier(ProtocolMessage message) |
| Modifier and Type | Method and Description |
|---|---|
private Socket |
StandardClusterCoordinationProtocolSender.createSocket(NodeIdentifier nodeId,
boolean applyHandshakeTimeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterCoordinationProtocolSenderListener.notifyNodeStatusChange(Set<NodeIdentifier> nodesToNotify,
NodeStatusChangeMessage msg) |
void |
StandardClusterCoordinationProtocolSender.notifyNodeStatusChange(Set<NodeIdentifier> nodesToNotify,
NodeStatusChangeMessage msg) |
| Modifier and Type | Field and Description |
|---|---|
private NodeIdentifier |
AdaptedNodeConnectionStatus.nodeId |
private NodeIdentifier |
AdaptedNodeBulletins.nodeIdentifier |
private NodeIdentifier |
AdaptedConnectionRequest.nodeIdentifier |
private NodeIdentifier |
AdaptedHeartbeat.nodeIdentifier |
private NodeIdentifier |
AdaptedConnectionResponse.nodeIdentifier |
| Modifier and Type | Method and Description |
|---|---|
NodeIdentifier |
AdaptedNodeConnectionStatus.getNodeId() |
NodeIdentifier |
AdaptedNodeBulletins.getNodeIdentifier() |
NodeIdentifier |
AdaptedConnectionRequest.getNodeIdentifier() |
NodeIdentifier |
AdaptedHeartbeat.getNodeIdentifier() |
NodeIdentifier |
AdaptedConnectionResponse.getNodeIdentifier() |
NodeIdentifier |
NodeIdentifierAdapter.unmarshal(AdaptedNodeIdentifier aNi) |
| Modifier and Type | Method and Description |
|---|---|
AdaptedNodeIdentifier |
NodeIdentifierAdapter.marshal(NodeIdentifier ni) |
void |
AdaptedNodeConnectionStatus.setNodeId(NodeIdentifier nodeId) |
void |
AdaptedNodeBulletins.setNodeIdentifier(NodeIdentifier nodeIdentifier) |
void |
AdaptedConnectionRequest.setNodeIdentifier(NodeIdentifier nodeIdentifier) |
void |
AdaptedHeartbeat.setNodeIdentifier(NodeIdentifier nodeIdentifier) |
void |
AdaptedConnectionResponse.setNodeIdentifier(NodeIdentifier nodeIdentifier) |
| Modifier and Type | Field and Description |
|---|---|
private NodeIdentifier |
DisconnectMessage.nodeId |
private NodeIdentifier |
FlowRequestMessage.nodeId |
private NodeIdentifier |
OffloadMessage.nodeId |
private NodeIdentifier |
NodeStatusChangeMessage.nodeId |
private NodeIdentifier |
ReconnectionRequestMessage.nodeId |
| Modifier and Type | Field and Description |
|---|---|
private Map<NodeIdentifier,NodeWorkload> |
ClusterWorkloadResponseMessage.nodeWorkloads |
| Modifier and Type | Method and Description |
|---|---|
NodeIdentifier |
DisconnectMessage.getNodeId() |
NodeIdentifier |
FlowRequestMessage.getNodeId() |
NodeIdentifier |
OffloadMessage.getNodeId() |
NodeIdentifier |
NodeStatusChangeMessage.getNodeId() |
NodeIdentifier |
ReconnectionRequestMessage.getNodeId() |
| Modifier and Type | Method and Description |
|---|---|
Map<NodeIdentifier,NodeWorkload> |
ClusterWorkloadResponseMessage.getNodeWorkloads() |
| Modifier and Type | Method and Description |
|---|---|
void |
DisconnectMessage.setNodeId(NodeIdentifier nodeId) |
void |
FlowRequestMessage.setNodeId(NodeIdentifier nodeId) |
void |
OffloadMessage.setNodeId(NodeIdentifier nodeId) |
void |
NodeStatusChangeMessage.setNodeId(NodeIdentifier nodeId) |
void |
ReconnectionRequestMessage.setNodeId(NodeIdentifier nodeId) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterWorkloadResponseMessage.setNodeWorkloads(Map<NodeIdentifier,NodeWorkload> nodeWorkloads) |
Copyright © 2020 Apache NiFi Project. All rights reserved.