Search in sources :

Example 16 with RedissonLock

use of org.redisson.RedissonLock in project redisson by redisson.

the class BucketGetAndDeleteOperation method rollback.

@Override
public void rollback(CommandAsyncExecutor commandExecutor) {
    RedissonLock lock = new RedissonTransactionalLock(commandExecutor, lockName, transactionId);
    lock.unlockAsync(getThreadId());
}
Also used : RedissonLock(org.redisson.RedissonLock) RedissonTransactionalLock(org.redisson.transaction.RedissonTransactionalLock)

Aggregations

RedissonLock (org.redisson.RedissonLock)16 RedissonTransactionalLock (org.redisson.transaction.RedissonTransactionalLock)12 RedissonBucket (org.redisson.RedissonBucket)5 RedissonKeys (org.redisson.RedissonKeys)3 RKeys (org.redisson.api.RKeys)3