Package org.d_haven.event.command

Interface Summary
Command A Command is a specific type of event that denotes an asynchronous execution unit that must be performed by the DefaultCommandManager.
CommandFailureHandler CommandFailureHandler is used by the DefaultCommandManager to handle any exceptions that might be thrown by a Command.
CommandManager Created by IntelliJ IDEA.
DelayedCommand A DelayedCommand is a specific type of Command that denotes a an execution unit that will be delayed at least X number of milliseconds.
EventPipeline An EventPipeline is used by the ThreadManager to manage the event Pipe and EventHandler relationship.
RepeatedCommand The RepeatedCommand is used to represent a command that operates at a specified interval over time.
ThreadManager A ThreadManager handles the thread policies for EventPipelines.
ThreadPolicy The ThreadPolicy is used to control how the EventPipelineRunner is set up, and how new threads are created and destroyed over the life of the system.
 

Class Summary
AbstractThreadPolicy The AbstractThreadPolicy keeps track of wether the management thread is running or not, and stores the ThreadManager for future use.
CommandEventHandler The CommandEventHandler is used by the DefaultCommandManager to actually process the events.
CommandEventPipeline Created by IntelliJ IDEA.
DefaultCommandFailureHandler DefaultCommandFailureHandler is used to do nothing if a command fails.
DefaultCommandManager The DefaultCommandManager handles asynchronous commands from the rest of the system.
DefaultCommandManager.DelayedCommandInfo This class encapsulates the information needed to keep track of our progress executing delayed and repeated commands.
DefaultThreadManager The DefaultThreadManager is a very flexible implementation that should be able to solve just about any need.
EventPipelineRunner Created by IntelliJ IDEA.
GroupedThreadFactory The GroupedThreadFactory is a convenience implementation for the concurrent utilitie's ThreadFactory.
NullCommandFailureHandler DefaultCommandFailureHandler is used to do nothing if a command fails.
OneThreadPolicy Created by IntelliJ IDEA.
ProcessorBoundThreadPolicy The ProcessorBoundThreadPolicy is a ThreadPolicy designed to process pipelines in a number of threads that is a multiple of the number of threads in the system.
SwitchedEnqueuePredicate The SwitchedEnqueuePredicate provides a mechanism where we can explicitly tell the queue whether we are accepting new events or not.