Interface LockingResponse
-
- All Superinterfaces:
CommandSerializable
- All Known Implementing Classes:
LockingResponse.AcquiringLockFailed
,LockingResponse.LockAcquired$
,LockingResponse.LockAlreadyReleased$
,LockingResponse.LockExpired$
,LockingResponse.LockExpiringShortly$
,LockingResponse.LockReleased$
,LockingResponse.ReleasingLockFailed
public interface LockingResponse extends CommandSerializable
LockingResponse represents valid responses when a component requests to lock some component
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LockingResponse.AcquiringLockFailed
This is sent when lock acquiring fails, e.g.static class
LockingResponse.AcquiringLockFailed$
static class
LockingResponse.LockAcquired$
Scala API: Lock successfully acquired acknowledgmentstatic class
LockingResponse.LockAlreadyReleased$
Scala API: Lock already released acknowledgment, this is sent when unlocked component receivesUnlock
messagestatic class
LockingResponse.LockExpired$
Scala API: Lock expired notification which is sent to component who acquired lock previouslystatic class
LockingResponse.LockExpiringShortly$
Scala API: Lock expiring notification which is sent after a duration calculated by [leaseDuration - (leaseDuration / 10)]static class
LockingResponse.LockReleased$
Scala API: Lock successfully released acknowledgmentstatic class
LockingResponse.ReleasingLockFailed
This is sent when unlocking component fails, e.g.static class
LockingResponse.ReleasingLockFailed$
-