org.drools.semantics.base
Class LongSemaphore

java.lang.Object
  extended byorg.drools.semantics.base.LongSemaphore
All Implemented Interfaces:
Semaphore, java.io.Serializable

public class LongSemaphore
extends java.lang.Object
implements Semaphore

See Also:
Serialized Form
 

Constructor Summary
LongSemaphore(java.lang.String identifier)
           
 
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)
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()