Nikita Koksharov

Results 643 comments of Nikita Koksharov

there is no need for`watch` since transactions are executed atomically.

Sorry, only `multi` command is used for atomicity. I corrected my answer.

I have checked it with the code below. ```java RTransaction transaction = redisson.createTransaction(TransactionOptions.defaults().timeout(3, TimeUnit.SECONDS)); RBucket bucket = transaction.getBucket("test"); bucket.set("234", 10, TimeUnit.SECONDS); transaction.commit(); ``` Redis command ``` $5 MULTI *4 $6...

this psetax is related to transaction lock. Which is acquired independently.

client tracking is not support since it's not supported in Redis cluster and master / slave environments.

it's not a Redisson limitation, RLocalCachedMap works in Redis cluster.

it uses redis pubsub channel and two modes are available: `INVALIDATE` - Default. Invalidate cache entry across all LocalCachedMap instances on map entry change `UPDATE` - update cache entry across...

> A variation on the example given above is: > > ```java > RedissonClient redisson = Redisson.create(config); > RLock lock = redisson.getLock("test-lock:1"); > lock.lock(10, TimeUnit.SECONDS); > Thread.sleep(5000); > lock.lock(10, TimeUnit.SECONDS);...