Package org.redisson.transaction
Class BaseTransactionalObject
- java.lang.Object
-
- org.redisson.transaction.BaseTransactionalObject
-
- Direct Known Subclasses:
BaseTransactionalMap
,BaseTransactionalSet
public class BaseTransactionalObject extends Object
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description BaseTransactionalObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RFuture<Boolean>
clearExpireAsync()
protected <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)
RFuture<Boolean>
expireAsync(long timeToLive, TimeUnit timeUnit)
RFuture<Boolean>
expireAtAsync(long timestamp)
RFuture<Boolean>
expireAtAsync(Instant timestamp)
RFuture<Boolean>
expireAtAsync(Date timestamp)
RFuture<Void>
migrateAsync(String host, int port, int database)
RFuture<Boolean>
moveAsync(int database)
-
-
-
Method Detail
-
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)
-
-