Interface LockCallback


  • public interface LockCallback
    • Method Detail

      • lockAcquired

        void lockAcquired​(FencedLock lock)
        This method is called when the lock in question is acquired by the FencedLockManager on this JVM instance
        Parameters:
        lock - the lock that was acquired
      • lockReleased

        void lockReleased​(FencedLock lock)
        This method is called when the lock in question was owned by the FencedLockManager instance belonging to this JVM instance and the lock has been released
        Parameters:
        lock - the lock that was released