Package org.jumpmind.symmetric.service
Interface IRouterService
- All Superinterfaces:
IService
- All Known Implementing Classes:
RouterService
This service is responsible for routing data to specific nodes and managing the batching of data to be delivered to each node.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Get a list of available batch algorithms that can be used for the different channelslong
long
routeData
(boolean force) boolean
shouldDataBeRouted
(SimpleRouterContext context, DataMetaData dataMetaData, Node node, boolean initialLoad, boolean initialLoadSelectUsed, TriggerRouter triggerRouter) void
stop()
Methods inherited from interface org.jumpmind.symmetric.service.IService
getSql, synchronize
-
Method Details
-
routeData
long routeData(boolean force) -
getUnroutedDataCount
long getUnroutedDataCount() -
shouldDataBeRouted
boolean shouldDataBeRouted(SimpleRouterContext context, DataMetaData dataMetaData, Node node, boolean initialLoad, boolean initialLoadSelectUsed, TriggerRouter triggerRouter) -
getAvailableBatchAlgorithms
Get a list of available batch algorithms that can be used for the different channels -
getRouters
Map<String,IDataRouter> getRouters() -
getDataGaps
-
stop
void stop() -
flushCache
void flushCache()
-