Interface NonBlockingFiniteStateMachine.TaskDependencies

All Known Implementing Classes:
NonBlockingFiniteStateMachine.DefaultTaskDependencies
Enclosing class:
NonBlockingFiniteStateMachine<S extends Enum<S>>

public static interface NonBlockingFiniteStateMachine.TaskDependencies
Dependencies for Task.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the associated key for the task.
    long
    Return the execution timeout for the task in millisecond.
  • Method Details

    • getExecutionTimeoutMillis

      long getExecutionTimeoutMillis()
      Return the execution timeout for the task in millisecond.
      Returns:
      the execution timeout
    • getAssociatedKey

      Object getAssociatedKey()
      Return the associated key for the task.
      Returns:
      the associated key