Package org.redisson.transaction
Class BaseTransactionalObject
java.lang.Object
org.redisson.transaction.BaseTransactionalObject
- Direct Known Subclasses:
BaseTransactionalMap
,BaseTransactionalSet
- Author:
- Nikita Koksharov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <R> RFuture<R>
executeLocked
(long timeout, Supplier<CompletionStage<R>> runnable, List<RLock> locks) protected <R> RFuture<R>
executeLocked
(long timeout, Supplier<CompletionStage<R>> runnable, RLock lock) expireAsync
(long timeToLive, TimeUnit timeUnit) expireAtAsync
(long timestamp) expireAtAsync
(Instant timestamp) expireAtAsync
(Date timestamp) migrateAsync
(String host, int port, int database) moveAsync
(int database)
-
Constructor Details
-
BaseTransactionalObject
public BaseTransactionalObject()
-
-
Method Details
-
expireAsync
-
expireAtAsync
-
expireAtAsync
-
expireAtAsync
-
clearExpireAsync
-
moveAsync
-
migrateAsync
-
executeLocked
protected <R> RFuture<R> executeLocked(long timeout, Supplier<CompletionStage<R>> runnable, RLock lock) -
executeLocked
protected <R> RFuture<R> executeLocked(long timeout, Supplier<CompletionStage<R>> runnable, List<RLock> locks)
-