org.drools.semantics.base
Class ShortSemaphore

java.lang.Object
  extended by org.drools.semantics.base.ShortSemaphore
All Implemented Interfaces:
java.io.Serializable, Semaphore

public class ShortSemaphore
extends java.lang.Object
implements Semaphore

See Also:
Serialized Form

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

Constructor Detail

ShortSemaphore

public ShortSemaphore(java.lang.String identifier)

ShortSemaphore

public ShortSemaphore(java.lang.String identifier,
                      short value)
Method Detail

getIdentifier

public java.lang.String getIdentifier()
Specified by:
getIdentifier in interface Semaphore

setValue

public void setValue(short value)

getValue

public short getValue()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object