public interface LockNotificationStrategy
Modifier and Type | Method and Description |
---|---|
void |
lockInUseNotification(LockingException cause,
PessimisticLock lock,
Lockable lockable)
Triggers the notification process for a specific lock state.
|
void |
lockInUseNotification(PessimisticLock lock,
Lockable lockable)
Triggers the notification process for a specific lock state.
|
void |
lockInUseNotification(RowAlreadyLockedException inUseException,
PessimisticLock lock,
Lockable lockable)
Triggers the notification process for a specific lock state.
|
void |
lockInUseNotificationFinished(PessimisticLock lock,
Lockable lockable)
Releases the notification process after a specific lock state.
|
void lockInUseNotification(RowAlreadyLockedException inUseException, PessimisticLock lock, Lockable lockable) throws LockingException
inUseException
- the specific lock in use information.lock
- the concerned locklockable
- the lockable which contains the notification monitor -
Lockable.getLockInUseNotifier()
LockingException
- if the locking process fails.void lockInUseNotification(LockingException cause, PessimisticLock lock, Lockable lockable) throws LockingException
cause
- the specific locking error information.lock
- the concerned locklockable
- the lockable which contains the notification monitor -
Lockable.getLockInUseNotifier()
LockingException
- if the locking process fails.void lockInUseNotification(PessimisticLock lock, Lockable lockable) throws LockingException
lock
- the concerned locklockable
- the lockable which contains the notification monitor -
Lockable.getLockInUseNotifier()
LockingException
- if the locking process fails.void lockInUseNotificationFinished(PessimisticLock lock, Lockable lockable)
lock
- the concerned PessimisticLock
instance.lockable
- the lockable which contains the notification monitor -
Lockable.getLockInUseNotifier()
Copyright © 2003–2021 XDEV Software. All rights reserved.