public interface DistributedLockSvc
| Modifier and Type | Method and Description |
|---|---|
DistributedLock |
create(String pLockName)
Create a new distributed lock.
|
DistributedLock |
create(String pLockName,
DistributedLockOptions pOptions)
Create a new distributed lock.
|
void |
destroy(DistributedLock pLock)
Destroy a distributed lock.
|
boolean |
isRunning()
Returns true if the lock service is running.
|
void |
shutdown()
Part of the usage contract.
|
void |
startup()
Part of the usage contract.
|
DistributedLock create(String pLockName)
DistributedLock create(String pLockName, DistributedLockOptions pOptions)
void destroy(DistributedLock pLock)
void startup()
void shutdown()
boolean isRunning()