类 RedissonCacheLocker
java.lang.Object
org.babyfish.jimmer.sql.cache.redisson.RedissonCacheLocker
- 所有已实现的接口:
CacheLocker
-
嵌套类概要
从接口继承的嵌套类/接口 org.babyfish.jimmer.sql.cache.CacheLocker
CacheLocker.Action -
构造器概要
构造器构造器说明RedissonCacheLocker(org.redisson.api.RedissonClient redissonClient) RedissonCacheLocker(org.redisson.api.RedissonClient redissonClient, int lockUpgradeThreshold) -
方法概要
修饰符和类型方法说明voidlocking(@NotNull LockableBinder<?, ?> binder, @NotNull Set<?> missedKeys, @Nullable Duration waitingDuration, @NotNull Duration lockingDuration, CacheLocker.Action action)
-
构造器详细资料
-
RedissonCacheLocker
public RedissonCacheLocker(org.redisson.api.RedissonClient redissonClient) -
RedissonCacheLocker
public RedissonCacheLocker(org.redisson.api.RedissonClient redissonClient, int lockUpgradeThreshold)
-
-
方法详细资料
-
locking
public void locking(@NotNull @NotNull LockableBinder<?, ?> binder, @NotNull @NotNull Set<?> missedKeys, @Nullable @Nullable Duration waitingDuration, @NotNull @NotNull Duration lockingDuration, CacheLocker.Action action) throws InterruptedException- 指定者:
locking在接口中CacheLocker- 抛出:
InterruptedException
-