public interface ClusterManagerProtocolSender
| Modifier and Type | Method and Description |
|---|---|
void |
assignPrimaryRole(PrimaryRoleAssignmentMessage msg)
Sends an "assign primary role" message to a node.
|
void |
disconnect(DisconnectMessage msg)
Sends a "disconnection request" message to a node.
|
FlowResponseMessage |
requestFlow(FlowRequestMessage msg)
Sends a "flow request" message to a node.
|
ReconnectionResponseMessage |
requestReconnection(ReconnectionRequestMessage msg)
Sends a "reconnection request" message to a node.
|
void |
setBulletinRepository(BulletinRepository bulletinRepository)
Sets the
BulletinRepository that can be used to report bulletins |
FlowResponseMessage requestFlow(FlowRequestMessage msg) throws ProtocolException
msg - a messageProtocolException - if communication failedReconnectionResponseMessage requestReconnection(ReconnectionRequestMessage msg) throws ProtocolException
msg - a messageProtocolException - if communication failedvoid disconnect(DisconnectMessage msg) throws ProtocolException
msg - a messageProtocolException - if communication failedvoid assignPrimaryRole(PrimaryRoleAssignmentMessage msg) throws ProtocolException
msg - a messageProtocolException - if communication failedvoid setBulletinRepository(BulletinRepository bulletinRepository)
BulletinRepository that can be used to report bulletinsbulletinRepository - repoCopyright © 2015 Apache NiFi(incubating) Project. All rights reserved.