ExtendedLock objects.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ExtendedLock | Returns: a reentrantExtendedLockCreate a standard reentrant |
| public static ExtendedLock | Returns: a reentrantExtendedLockthe fairness policy fair)Create a standard reentrant |
| public static ExtendedLock |
| Locks | back to summary |
|---|---|
| private Locks() | |
| reentrantLock | back to summary |
|---|---|
| public static ExtendedLock reentrantLock() Create a standard reentrant
| |
| reentrantLock | back to summary |
|---|---|
| public static ExtendedLock reentrantLock(boolean fair) Create a standard reentrant
| |
| spinLock | back to summary |
|---|---|
| public static ExtendedLock spinLock() Create a spin lock.
| |