org.drools.semantics.base
Class LongSemaphore

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

public class LongSemaphore
extends Object
implements Semaphore

See Also:
Serialized Form

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

Field Detail

identifier

String identifier

value

long value
Constructor Detail

LongSemaphore

public LongSemaphore(String identifier)

LongSemaphore

public LongSemaphore(String identifier,
                     long value)
Method Detail

getIdentifier

public String getIdentifier()
Specified by:
getIdentifier in interface Semaphore

setValue

public void setValue(long value)

getValue

public long getValue()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2005 The Codehaus. All Rights Reserved.