Class Semaphore

java.lang.Object
com.swiftmq.tools.concurrent.Semaphore

public class Semaphore extends Object
  • Constructor Details

    • Semaphore

      public Semaphore(boolean interruptable)
    • Semaphore

      public Semaphore()
  • Method Details

    • waitHere

      public void waitHere()
    • waitHere

      public void waitHere(long ms)
    • notifySingleWaiter

      public void notifySingleWaiter()
    • notifyAllWaiters

      public void notifyAllWaiters()
    • isNotified

      public boolean isNotified()
    • reset

      public void reset()