This class is intended to be thread-safe.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | InterruptibleReentrantLock(final boolean
true means threads should acquire contended locks as if
waiting in a FIFO queue. fairness)Constructs a new InterruptibleReentrantLock with the given fairness policy. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | interruptWaiters(final Condition
the condition on which the threads are waiting. condition)Interrupts the threads that are waiting on a specific condition. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| InterruptibleReentrantLock | back to summary |
|---|---|
| pack-priv InterruptibleReentrantLock(final boolean fairness) Constructs a new InterruptibleReentrantLock with the given fairness policy.
| |
| interruptWaiters | back to summary |
|---|---|
| pack-priv void interruptWaiters(final Condition condition) Interrupts the threads that are waiting on a specific condition.
| |