org.drools.semantics.base
Class LongSemaphore

java.lang.Object
  extended by 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

Constructor Summary
LongSemaphore(java.lang.String identifier)
           
LongSemaphore(java.lang.String identifier, long value)
           
 
Method Summary
 java.lang.String getIdentifier()
           
 long getValue()
           
 void setValue(long value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongSemaphore

public LongSemaphore(java.lang.String identifier)

LongSemaphore

public LongSemaphore(java.lang.String identifier,
                     long value)
Method Detail

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