Interface TaskEventCallable


public interface TaskEventCallable
Interface for recording a task-thread simulation event.
  • Method Summary

    Modifier and Type
    Method
    Description
    Interface to allow task threads to be manipulated during task-thread processing.
  • Method Details

    • call

      Interface to allow task threads to be manipulated during task-thread processing. This allows some operations used by the implementation to occur while synchronizing on particular objects used internally by TaskThread methods. The event returned may not be the event passed as an argument (e.g., the return value may be an event that is stored on a TaskQueue, not the simulation's event queue).
      Parameters:
      event - the event used to schedule a task
      Returns:
      the simulation event scheduled or stored; null if the the scheduling or storing is not possible
      See Also: