org.ccnx.ccn.test.profiles.versioning.VersioningHelper.ConditionLong Class Reference

List of all members.

Public Member Functions

 ConditionLong (long value)
long setValue (long value) throws InterruptedException
long getValue ()
long increment ()
long decrement ()
boolean waitForValue (long value, long timeout) throws InterruptedException

Public Attributes

long value = 0

Protected Attributes

Lock lock = new ReentrantLock()
Condition cond = lock.newCondition()

Member Function Documentation

boolean org.ccnx.ccn.test.profiles.versioning.VersioningHelper.ConditionLong.waitForValue ( long  value,
long  timeout 
) throws InterruptedException
Parameters:
value = to wait for
timeout = in milliseconds
Returns:
true if value found, false if timeout
Exceptions:
InterruptedException 

The documentation for this class was generated from the following file:
Generated on Fri May 13 16:27:55 2011 for Content-Centric Networking in Java by  doxygen 1.6.3