Interface LockIdSupplier<K>

  • Type Parameters:
    K - type of key

    public interface LockIdSupplier<K>
    Used by some inheritors of AbstractLockBasedProxyManager when it needs to calculate numeric value of locks.
    • Method Detail

      • toLockId

        long toLockId​(K key)
        Returns the lock-id specified with the key.
        Parameters:
        key - the key of bucket
        Returns:
        id of lock specified with key