public class LockedLockState extends Object implements LockState
| Constructor and Description |
|---|
LockedLockState() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(StateContext<LockState> context)
Initializes the lock state.
|
boolean |
lock(String member,
long thread)
Locks the lock.
|
void |
unlock(String member,
long thread)
Unlocks the lock.
|
public void init(StateContext<LockState> context)
LockStatepublic boolean lock(String member, long thread)
LockStateCopyright © 2013-2015. All Rights Reserved.