public class LockingResponses
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LockingResponses.AcquiringLockFailed
This is sent when lock acquiring fails, e.g.
|
static class |
LockingResponses.AcquiringLockFailed$ |
static class |
LockingResponses.LockAcquired$
Scala API: Lock successfully acquired acknowledgment
|
static class |
LockingResponses.LockAlreadyReleased$
Scala API: Lock already released acknowledgment, this is sent when unlocked component receives
Unlock message |
static class |
LockingResponses.LockExpired$
Scala API: Lock expired notification which is sent to component who acquired lock previously
|
static class |
LockingResponses.LockExpiringShortly$
Scala API: Lock expiring notification which is sent after a duration calculated by [leaseDuration - (leaseDuration / 10)]
|
static class |
LockingResponses.LockReleased$
Scala API: Lock successfully released acknowledgment
|
static class |
LockingResponses.ReleasingLockFailed
This is sent when unlocking component fails, e.g.
|
static class |
LockingResponses.ReleasingLockFailed$ |
Constructor and Description |
---|
LockingResponses() |
Modifier and Type | Method and Description |
---|---|
static LockingResponse |
lockAcquired()
Java API: Lock successfully acquired acknowledgment
|
static LockingResponse |
lockAlreadyReleased()
Java API: Lock already released acknowledgment, this is sent when unlocked component receives
Unlock message |
static LockingResponse |
lockExpired()
Java API: Lock expired notification which is sent to component who acquired lock previously
|
static LockingResponse |
lockExpiringShortly()
Java API: Lock expiring notification which is sent after a duration calculated by [leaseDuration - (leaseDuration / 10)]
|
static LockingResponse |
lockReleased()
Java API: Lock successfully released acknowledgment
|
public static LockingResponse lockAcquired()
public static LockingResponse lockReleased()
public static LockingResponse lockAlreadyReleased()
Unlock
messagepublic static LockingResponse lockExpired()
public static LockingResponse lockExpiringShortly()