@NotThreadSafe private static final class FsLockController.ThreadUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
locking |
(package private) Random |
rnd |
| Constructor and Description |
|---|
FsLockController.ThreadUtil(Random rnd) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
pause()
Delays the current thread for a random time interval between one and
FsLockModelDecoratingController.WAIT_TIMEOUT_MILLIS milliseconds inclusively. |
boolean locking
final Random rnd
FsLockController.ThreadUtil(Random rnd)
void pause()
FsLockModelDecoratingController.WAIT_TIMEOUT_MILLIS milliseconds inclusively.
Interrupting the current thread has no effect on this method.Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.