Class DistributedLockHolder


  • public final class DistributedLockHolder
    extends Object
    Distributed lock holder.
    • Constructor Detail

      • DistributedLockHolder

        public DistributedLockHolder​(String type,
                                     Object client,
                                     org.apache.shardingsphere.infra.util.props.TypedProperties<?> props)
    • Method Detail

      • getDistributedLock

        public DistributedLock getDistributedLock​(String lockKey)
        Get distributed lock.
        Parameters:
        lockKey - lock key
        Returns:
        distributed lock