Class LockingResponses
- java.lang.Object
-
- csw.command.client.models.framework.LockingResponses
-
public class LockingResponses extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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 acknowledgmentstatic class
LockingResponses.LockAlreadyReleased$
Scala API: Lock already released acknowledgment, this is sent when unlocked component receivesUnlock
messagestatic class
LockingResponses.LockExpired$
Scala API: Lock expired notification which is sent to component who acquired lock previouslystatic 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 acknowledgmentstatic class
LockingResponses.ReleasingLockFailed
This is sent when unlocking component fails, e.g.static class
LockingResponses.ReleasingLockFailed$
-
Constructor Summary
Constructors Constructor Description LockingResponses()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LockingResponse
lockAcquired()
Java API: Lock successfully acquired acknowledgmentstatic LockingResponse
lockAlreadyReleased()
Java API: Lock already released acknowledgment, this is sent when unlocked component receivesUnlock
messagestatic LockingResponse
lockExpired()
Java API: Lock expired notification which is sent to component who acquired lock previouslystatic 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
-
-
-
Method Detail
-
lockAcquired
public static LockingResponse lockAcquired()
Java API: Lock successfully acquired acknowledgment- Returns:
- (undocumented)
-
lockReleased
public static LockingResponse lockReleased()
Java API: Lock successfully released acknowledgment- Returns:
- (undocumented)
-
lockAlreadyReleased
public static LockingResponse lockAlreadyReleased()
Java API: Lock already released acknowledgment, this is sent when unlocked component receivesUnlock
message- Returns:
- (undocumented)
-
lockExpired
public static LockingResponse lockExpired()
Java API: Lock expired notification which is sent to component who acquired lock previously- Returns:
- (undocumented)
-
lockExpiringShortly
public static LockingResponse lockExpiringShortly()
Java API: Lock expiring notification which is sent after a duration calculated by [leaseDuration - (leaseDuration / 10)]- Returns:
- (undocumented)
-
-