public class RecursiveLock extends Object
A wrapper for a ReentrantLock that adds a boolean 'stale' flag and includes some timeout handling.
| Constructor and Description |
|---|
RecursiveLock(int timeoutSeconds) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
boolean |
isAboutToRelease() |
boolean |
isStale() |
void |
lock() |
void |
setStale(boolean stale) |
void |
unlock() |
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.