Package edu.isi.pegasus.planner.refiner
Class ThreadPool.ConditionVariable
- java.lang.Object
-
- edu.isi.pegasus.planner.refiner.ThreadPool.ConditionVariable
-
- Enclosing class:
- ThreadPool
class ThreadPool.ConditionVariable extends java.lang.Object
A wrapper around an int that acts as a Condition Variable, and is used as such. In behaviour it is probably closer to a semaphore.
-
-
Field Summary
Fields Modifier and Type Field Description private int
value
The int that is associated with this object.
-
Constructor Summary
Constructors Constructor Description ConditionVariable()
The default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the value.void
increment()
It increments the value by 1.
-