org.drools.semantics.base
Class IntegerSemaphore

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

public class IntegerSemaphore
extends java.lang.Object
implements Semaphore

See Also:
Serialized Form
 

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

Constructor Detail

IntegerSemaphore

public IntegerSemaphore(java.lang.String identifier)
Method Detail

getIdentifier

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

setValue

public void setValue(int value)

getValue

public int getValue()

toString

public java.lang.String toString()