Interface IEfsDispatcher

All Known Implementing Classes:
EfsDispatcher

public interface IEfsDispatcher
Dispatcher behavior interface. Provided for mocking purposes.
Author:
Charles W. Rapp
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    dispatch(org.efs.dispatcher.EfsAgent agent)
    Enqueues given agent to dispatcher run queue.
    int
    Returns configured agent event queue maximum capacity.
    int
    Returns maximum number of events an agent is allowed to process per callback.
    Returns dispatcher's unique name.
    int
    Returns dispatcher's subordinate thread count.
  • Method Details

    • name

      String name()
      Returns dispatcher's unique name.
      Returns:
      dispatcher name.
    • threadCount

      int threadCount()
      Returns dispatcher's subordinate thread count.
      Returns:
      dispatcher thread count.
    • maxEvents

      int maxEvents()
      Returns maximum number of events an agent is allowed to process per callback.
      Returns:
      maximum events per agent callback.
    • eventQueueCapacity

      int eventQueueCapacity()
      Returns configured agent event queue maximum capacity.
      Returns:
      agent event queue maximum capacity.
    • dispatch

      void dispatch(org.efs.dispatcher.EfsAgent agent)
      Enqueues given agent to dispatcher run queue.
      Parameters:
      agent - enqueue this efs agent.