Class MapCachePutIfAbsentOperation
-
- org.redisson.transaction.operation.TransactionalOperation
-
- org.redisson.transaction.operation.map.MapOperation
-
- org.redisson.transaction.operation.map.MapCachePutIfAbsentOperation
-
public class MapCachePutIfAbsentOperation extends MapOperation
- Author:
- Nikita Koksharov
-
-
Field Summary
-
Fields inherited from class org.redisson.transaction.operation.TransactionalOperation
codec, name, threadId
-
-
Constructor Summary
Constructors Constructor Description MapCachePutIfAbsentOperation()
MapCachePutIfAbsentOperation(RMap<?,?> map, key, value, long ttl, unit, long maxIdleTime, maxIdleUnit, transactionId, long threadId)
MapCachePutIfAbsentOperation(RMap<?,?> map, key, value, transactionId, long threadId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
,> map)
long
getMaxIdleTime()
getMaxIdleUnit()
long
getTTL()
getTTLUnit()
-
Methods inherited from class org.redisson.transaction.operation.map.MapOperation
commit, getKey, getLock, getMap, getMap, getOldValue, getValue, rollback
-
Methods inherited from class org.redisson.transaction.operation.TransactionalOperation
getCodec, getName, getThreadId
-
-
-
-
Constructor Detail
-
MapCachePutIfAbsentOperation
public MapCachePutIfAbsentOperation()
-
MapCachePutIfAbsentOperation
public MapCachePutIfAbsentOperation(RMap<?,?> map, key, value, long ttl, unit, long maxIdleTime, maxIdleUnit, transactionId, long threadId)
-
MapCachePutIfAbsentOperation
public MapCachePutIfAbsentOperation(RMap<?,?> map, key, value, transactionId, long threadId)
-
-
Method Detail
-
commit
public void commit(,> map)
- Specified by:
commit
in classMapOperation
-
getTTL
public long getTTL()
-
getTTLUnit
public getTTLUnit()
-
getMaxIdleTime
public long getMaxIdleTime()
-
getMaxIdleUnit
public getMaxIdleUnit()
-
-