Interface IRWOLockManager.LockChange.DeltaHandler<OBJECT,CONTEXT>

Type Parameters:
OBJECT - the locked object type
CONTEXT - the lock owner type
Enclosing class:
IRWOLockManager.LockChange<OBJECT>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface IRWOLockManager.LockChange.DeltaHandler<OBJECT,CONTEXT>
Since:
3.31
Author:
Eike Stepper
  • Method Details

    • handleLockDelta

      void handleLockDelta(IRWOLockManager.LockChange.Operation operation, CONTEXT context, OBJECT object, IRWLockManager.LockType lockType, int oldCount, int newCount)
      Handles one effective lock-count change in a lock mutation batch.
      Parameters:
      operation - whether the change adds or removes locks
      context - the owner whose lock count changed
      object - the affected object
      lockType - the affected lock type
      oldCount - the lock count before the change
      newCount - the lock count after the change