Interface GridCacheLockCallback


  • public interface GridCacheLockCallback
    Lock and Unlock callbacks.
    • Method Detail

      • onLocked

        void onLocked​(GridDistributedCacheEntry entry)
        Called when entry gets a first candidate. This call happens within entry internal synchronization.
        Parameters:
        entry - Entry.
      • onOwnerChanged

        void onOwnerChanged​(GridCacheEntryEx entry,
                            GridCacheMvccCandidate owner)
        Called when entry lock ownership changes. This call happens outside of synchronization so external callbacks can be made from this call.
        Parameters:
        entry - Entry.
        owner - Current owner.
      • onFreed

        void onFreed​(GridDistributedCacheEntry entry)
        Called when entry has no more candidates. This call happens within entry internal synchronization.
        Parameters:
        entry - Entry