org.drools.semantics.base
Class LongSemaphore
java.lang.Object
org.drools.semantics.base.LongSemaphore
- All Implemented Interfaces:
- java.io.Serializable, Semaphore
public class LongSemaphore
- extends java.lang.Object
- implements Semaphore
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LongSemaphore
public LongSemaphore(java.lang.String identifier)
LongSemaphore
public LongSemaphore(java.lang.String identifier,
long value)
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifier
in interface Semaphore
setValue
public void setValue(long value)
getValue
public long getValue()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object