Package | Description |
---|---|
io.hekate.lock |
LockService API. |
io.hekate.spring.bean.lock |
Support for importing the
LockService into the Spring context. |
Modifier and Type | Method and Description |
---|---|
DistributedLock |
LockRegion.get(String name)
Returns the distributed lock for the specified name.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncLockCallback.onLockAcquire(DistributedLock lock)
Gets called when lock was successfully acquired.
|
default void |
AsyncLockCallback.onLockRelease(DistributedLock lock)
Gets called after lock has been released.
|
Modifier and Type | Method and Description |
---|---|
DistributedLock |
LockBean.getObject() |
Modifier and Type | Method and Description |
---|---|
Class<DistributedLock> |
LockBean.getObjectType() |