Interface IRouterService

All Superinterfaces:
IService
All Known Implementing Classes:
RouterService

public interface IRouterService extends IService
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 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

      List<String> getAvailableBatchAlgorithms()
      Get a list of available batch algorithms that can be used for the different channels
    • getRouters

      Map<String,IDataRouter> getRouters()
    • getDataGaps

      List<DataGap> getDataGaps()
    • stop

      void stop()
    • flushCache

      void flushCache()