Class PsyCondition

java.lang.Object
coneforest.psylla.core.PsyCondition
All Implemented Interfaces:
PsyObject

@Type("condition") public class PsyCondition extends Object implements PsyObject
The representation of condition.
  • Field Details

  • Constructor Details

    • PsyCondition

      public PsyCondition(Condition condition)
      Constructs a condition object that wraps given condition.
      Parameters:
      condition - a condition.
  • Method Details

    • psyNotify

      public void psyNotify()
    • psyWait

      public void psyWait() throws PsyInterruptException
      Causes the current context to wait until it is notified or interrupted.
      Throws:
      PsyInterruptException - when current context is interrupted.