com.waveset.util
Class Semaphore

java.lang.Object
  extended bycom.waveset.util.Semaphore

public class Semaphore
extends java.lang.Object


Field Summary
protected static java.lang.String CLASS
           
static java.lang.String code_id
           
 
Constructor Summary
Semaphore()
           
 
Method Summary
 void notifyAllWaiters()
           
 void notifyWaiter()
           
 void waitForever()
           
 void waitForMillis(long millis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

CLASS

protected static final java.lang.String CLASS
See Also:
Constant Field Values
Constructor Detail

Semaphore

public Semaphore()
Method Detail

waitForever

public void waitForever()

waitForMillis

public void waitForMillis(long millis)

notifyWaiter

public void notifyWaiter()

notifyAllWaiters

public void notifyAllWaiters()