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 classLockingResponse.AcquiringLockFailedThis is sent when lock acquiring fails, e.g.static classLockingResponse.AcquiringLockFailed$static classLockingResponse.LockAcquired$Scala API: Lock successfully acquired acknowledgmentstatic classLockingResponse.LockAlreadyReleased$Scala API: Lock already released acknowledgment, this is sent when unlocked component receivesUnlockmessagestatic classLockingResponse.LockExpired$Scala API: Lock expired notification which is sent to component who acquired lock previouslystatic classLockingResponse.LockExpiringShortly$Scala API: Lock expiring notification which is sent after a duration calculated by [leaseDuration - (leaseDuration / 10)]static classLockingResponse.LockReleased$Scala API: Lock successfully released acknowledgmentstatic classLockingResponse.ReleasingLockFailedThis is sent when unlocking component fails, e.g.static classLockingResponse.ReleasingLockFailed$
-