Interface DistributedLockCreator<C,P extends org.apache.shardingsphere.infra.util.props.TypedProperties<?>>
-
- Type Parameters:
C- type of distributed lock clientP- type of typed properties
- All Superinterfaces:
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
- All Known Implementing Classes:
DefaultDistributedLockCreator
public interface DistributedLockCreator<C,P extends org.apache.shardingsphere.infra.util.props.TypedProperties<?>> extends org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPIDistributed lock creator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DistributedLockcreate(String lockKey, C client, P props)Create distributed lock.
-
-
-
Method Detail
-
create
DistributedLock create(String lockKey, C client, P props)
Create distributed lock.- Parameters:
lockKey- lock keyclient- clientprops- props- Returns:
- created distributed lock
-
-