Package org.jumpmind.symmetric.service
Interface INodeCommunicationService
- All Known Implementing Classes:
NodeCommunicationService
public interface INodeCommunicationService
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
-
Method Summary
Modifier and TypeMethodDescriptionboolean
execute
(NodeCommunication nodeCommunication, RemoteNodeStatuses statuses, INodeCommunicationService.INodeCommunicationExecutor executor) find
(String nodeId, String channelId, NodeCommunication.CommunicationType communicationType) int
getAvailableThreads
(NodeCommunication.CommunicationType communicationType) list
(NodeCommunication.CommunicationType communicationType) listAll
(NodeCommunication.CommunicationType communicationType) parseQueueToBatchCounts
(String channelToBatchCountsString) void
void
stop()
void
updateBatchToSendCounts
(String nodeId, Map<String, Integer> batchesCountToQueues)
-
Method Details
-
list
-
listAll
-
find
NodeCommunication find(String nodeId, String channelId, NodeCommunication.CommunicationType communicationType) -
execute
boolean execute(NodeCommunication nodeCommunication, RemoteNodeStatuses statuses, INodeCommunicationService.INodeCommunicationExecutor executor) -
getAvailableThreads
-
stop
void stop() -
updateBatchToSendCounts
-
parseQueueToBatchCounts
-
persistToTableForSnapshot
void persistToTableForSnapshot()
-