Interface ISimProcess

    • Method Detail

      • passivate

        void passivate()
        Passivates this process. This will suspend the simulation of the process until it is resumed again using the scheduleAt method.
      • scheduleAt

        void scheduleAt​(double delay)
        Resumes the process after waiting delay simulated time units.
        Parameters:
        delay - the period of simulated time to wait before this process is activated again.
      • passivate

        void passivate​(double delay)
        Puts the process asleep and resumes after waiting delay simulated time units.
        Parameters:
        delay - the period of simulated time to wait before this process is activated again.
      • isTerminated

        boolean isTerminated()
        Returns whether this process has finished its execution.
      • preempt

        void preempt()