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:
-
The documentation for this class was generated from the following file:
- src/org/ccnx/ccn/test/profiles/versioning/VersioningHelper.java