Class DistributedLockHolder
java.lang.Object
org.apache.shardingsphere.mode.repository.cluster.lock.holder.DistributedLockHolder
Distributed lock holder.
-
Constructor Summary
ConstructorsConstructorDescriptionDistributedLockHolder(String type, Object client, org.apache.shardingsphere.infra.util.props.TypedProperties<?> props) -
Method Summary
-
Constructor Details
-
DistributedLockHolder
-
-
Method Details
-
getDistributedLock
Get distributed lock.- Parameters:
lockKey- lock key- Returns:
- distributed lock
-