use of org.redisson.api.RReadWriteLock in project redisson by redisson.
the class RedissonReadWriteLockTest method testHoldCount.
@Test
public void testHoldCount() {
RReadWriteLock rwlock = redisson.getReadWriteLock("lock");
testHoldCount(rwlock.readLock());
testHoldCount(rwlock.writeLock());
}
Aggregations