Interface Executor


  • public interface Executor
    Schedule a command to be executed via a thread. An Executor is created via ExecutorFactory.
    Author:
    mrk
    • Method Detail

      • createNode

        ExecutorNode createNode​(Runnable command)
        Create a node that can be passed to execute.
        Parameters:
        command - the command to be executed
        Returns:
        the ExecutorNode created
      • execute

        void execute​(ExecutorNode executorNode)
        Execute a command via a thread.
        Parameters:
        executorNode - the ExecutorNode created by createNode.
      • stop

        void stop()
        Stop the executor.