public interface INodeCommunicationService
| Modifier and Type | Interface and Description |
|---|---|
static interface |
INodeCommunicationService.INodeCommunicationExecutor |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(NodeCommunication nodeCommunication,
RemoteNodeStatuses statuses,
INodeCommunicationService.INodeCommunicationExecutor executor) |
NodeCommunication |
find(java.lang.String nodeId,
java.lang.String channelId,
NodeCommunication.CommunicationType communicationType) |
int |
getAvailableThreads(NodeCommunication.CommunicationType communicationType) |
java.util.List<NodeCommunication> |
list(NodeCommunication.CommunicationType communicationType) |
java.util.Map<java.lang.String,java.lang.Integer> |
parseQueueToBatchCounts(java.lang.String channelToBatchCountsString) |
void |
persistToTableForSnapshot() |
void |
stop() |
void |
updateBatchToSendCounts(java.lang.String nodeId,
java.util.Map<java.lang.String,java.lang.Integer> batchesCountToQueues) |
java.util.List<NodeCommunication> list(NodeCommunication.CommunicationType communicationType)
NodeCommunication find(java.lang.String nodeId, java.lang.String channelId, NodeCommunication.CommunicationType communicationType)
boolean execute(NodeCommunication nodeCommunication, RemoteNodeStatuses statuses, INodeCommunicationService.INodeCommunicationExecutor executor)
int getAvailableThreads(NodeCommunication.CommunicationType communicationType)
void stop()
void updateBatchToSendCounts(java.lang.String nodeId,
java.util.Map<java.lang.String,java.lang.Integer> batchesCountToQueues)
java.util.Map<java.lang.String,java.lang.Integer> parseQueueToBatchCounts(java.lang.String channelToBatchCountsString)
void persistToTableForSnapshot()