|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.AbstractDelegatingCache<K,V>
org.infinispan.AbstractDelegatingAdvancedCache<K,V>
public class AbstractDelegatingAdvancedCache<K,V>
Similar to AbstractDelegatingCache
, but for AdvancedCache
.
AbstractDelegatingCache
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
AbstractDelegatingAdvancedCache(AdvancedCache<K,V> cache)
|
Method Summary | |
---|---|
void |
addInterceptor(CommandInterceptor i,
int position)
Adds a custom interceptor to the interceptor chain, at specified position, where the first interceptor in the chain is at position 0 and the last one at NUM_INTERCEPTORS - 1. |
void |
addInterceptorAfter(CommandInterceptor i,
Class<? extends CommandInterceptor> afterInterceptor)
Adds a custom interceptor to the interceptor chain, after an instance of the specified interceptor type. |
void |
addInterceptorBefore(CommandInterceptor i,
Class<? extends CommandInterceptor> beforeInterceptor)
Adds a custom interceptor to the interceptor chain, before an instance of the specified interceptor type. |
void |
clear(Flag... flags)
|
Future<Void> |
clearAsync()
Asynchronous version of Map.clear() . |
Future<Void> |
clearAsync(Flag... flags)
|
boolean |
containsKey(Object key,
Flag... flags)
|
V |
get(Object key,
Flag... flags)
|
BatchContainer |
getBatchContainer()
|
ComponentRegistry |
getComponentRegistry()
|
DataContainer |
getDataContainer()
|
EvictionManager |
getEvictionManager()
|
List<CommandInterceptor> |
getInterceptorChain()
Retrieves the current Interceptor chain. |
InvocationContextContainer |
getInvocationContextContainer()
|
RpcManager |
getRpcManager()
|
void |
lock(Collection<? extends K> keys)
|
void |
lock(K key)
|
V |
put(K key,
V value,
Flag... flags)
|
V |
put(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit,
Flag... flags)
|
void |
putAll(Map<? extends K,? extends V> map,
Flag... flags)
|
void |
putAll(Map<? extends K,? extends V> map,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit,
Flag... flags)
|
Future<Void> |
putAllAsync(Map<? extends K,? extends V> data)
Asynchronous version of Map.putAll(Map) . |
Future<Void> |
putAllAsync(Map<? extends K,? extends V> map,
Flag... flags)
|
Future<Void> |
putAllAsync(Map<? extends K,? extends V> data,
long lifespan,
TimeUnit unit)
Asynchronous version of Cache.putAll(Map, long, TimeUnit) . |
Future<Void> |
putAllAsync(Map<? extends K,? extends V> data,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit)
Asynchronous version of Cache.putAll(Map, long, TimeUnit, long, TimeUnit) . |
Future<Void> |
putAllAsync(Map<? extends K,? extends V> map,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit,
Flag... flags)
|
Future<V> |
putAsync(K key,
V value)
Asynchronous version of Map.put(Object, Object) . |
Future<V> |
putAsync(K key,
V value,
Flag... flags)
|
Future<V> |
putAsync(K key,
V value,
long lifespan,
TimeUnit unit)
Asynchronous version of Cache.put(Object, Object, long, TimeUnit) . |
Future<V> |
putAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit)
Asynchronous version of Cache.put(Object, Object, long, TimeUnit, long, TimeUnit) . |
Future<V> |
putAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit,
Flag... flags)
|
void |
putForExternalRead(K key,
V value,
Flag... flags)
|
V |
putIfAbsent(K key,
V value,
Flag... flags)
|
V |
putIfAbsent(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit,
Flag... flags)
|
Future<V> |
putIfAbsentAsync(K key,
V value)
Asynchronous version of ConcurrentMap.putIfAbsent(Object, Object) . |
Future<V> |
putIfAbsentAsync(K key,
V value,
Flag... flags)
|
Future<V> |
putIfAbsentAsync(K key,
V value,
long lifespan,
TimeUnit unit)
Asynchronous version of Cache.putIfAbsent(Object, Object, long, TimeUnit) . |
Future<V> |
putIfAbsentAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit)
Asynchronous version of Cache.putIfAbsent(Object, Object, long, TimeUnit, long, TimeUnit) . |
Future<V> |
putIfAbsentAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit,
Flag... flags)
|
V |
remove(Object key,
Flag... flags)
|
Future<V> |
removeAsync(Object key)
Asynchronous version of Map.remove(Object) . |
Future<V> |
removeAsync(Object key,
Flag... flags)
|
Future<Boolean> |
removeAsync(Object key,
Object value)
Asynchronous version of ConcurrentMap.remove(Object, Object) . |
void |
removeInterceptor(Class<? extends CommandInterceptor> interceptorType)
Removes the interceptor of specified type. |
void |
removeInterceptor(int position)
Removes the interceptor at a specified position, where the first interceptor in the chain is at position 0 and the last one at getInterceptorChain().size() - 1. |
V |
replace(K k,
V v,
Flag... flags)
|
V |
replace(K k,
V v,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit,
Flag... flags)
|
boolean |
replace(K k,
V oV,
V nV,
Flag... flags)
|
boolean |
replace(K k,
V oV,
V nV,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit,
Flag... flags)
|
Future<V> |
replaceAsync(K key,
V value)
Asynchronous version of ConcurrentMap.replace(Object, Object) . |
Future<V> |
replaceAsync(K k,
V v,
Flag... flags)
|
Future<V> |
replaceAsync(K key,
V value,
long lifespan,
TimeUnit unit)
Asynchronous version of Cache.replace(Object, Object, long, TimeUnit) . |
Future<V> |
replaceAsync(K key,
V value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit)
Asynchronous version of Cache.replace(Object, Object, long, TimeUnit, long, TimeUnit) . |
Future<V> |
replaceAsync(K k,
V v,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit,
Flag... flags)
|
Future<Boolean> |
replaceAsync(K key,
V oldValue,
V newValue)
Asynchronous version of ConcurrentMap.replace(Object, Object, Object) . |
Future<Boolean> |
replaceAsync(K k,
V oV,
V nV,
Flag... flags)
|
Future<Boolean> |
replaceAsync(K key,
V oldValue,
V newValue,
long lifespan,
TimeUnit unit)
Asynchronous version of Cache.replace(Object, Object, Object, long, TimeUnit) . |
Future<Boolean> |
replaceAsync(K key,
V oldValue,
V newValue,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit)
Asynchronous version of Cache.replace(Object, Object, Object, long, TimeUnit, long, TimeUnit) . |
Future<Boolean> |
replaceAsync(K k,
V oV,
V nV,
long lifespan,
TimeUnit lifespanUnit,
long maxIdle,
TimeUnit maxIdleUnit,
Flag... flags)
|
void |
unlock(Collection<? extends K> keys)
|
void |
unlock(K key)
|
Methods inherited from class org.infinispan.AbstractDelegatingCache |
---|
addListener, clear, compact, containsKey, containsValue, endBatch, entrySet, evict, get, getAdvancedCache, getCacheManager, getConfiguration, getListeners, getName, getStatus, getVersion, isEmpty, keySet, put, put, put, putAll, putAll, putAll, putForExternalRead, putIfAbsent, putIfAbsent, putIfAbsent, remove, remove, removeListener, replace, replace, replace, replace, replace, replace, size, start, startBatch, stop, values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.infinispan.Cache |
---|
compact, endBatch, evict, getAdvancedCache, getCacheManager, getConfiguration, getName, getStatus, getVersion, put, put, putAll, putAll, putForExternalRead, putIfAbsent, putIfAbsent, replace, replace, replace, replace, startBatch |
Methods inherited from interface java.util.concurrent.ConcurrentMap |
---|
putIfAbsent, remove, replace, replace |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from interface org.infinispan.lifecycle.Lifecycle |
---|
start, stop |
Methods inherited from interface org.infinispan.notifications.Listenable |
---|
addListener, getListeners, removeListener |
Constructor Detail |
---|
public AbstractDelegatingAdvancedCache(AdvancedCache<K,V> cache)
Method Detail |
---|
public void addInterceptor(CommandInterceptor i, int position)
AdvancedCache
addInterceptor
in interface AdvancedCache<K,V>
i
- the interceptor to addposition
- the position to add the interceptorpublic void addInterceptorAfter(CommandInterceptor i, Class<? extends CommandInterceptor> afterInterceptor)
AdvancedCache
addInterceptorAfter
in interface AdvancedCache<K,V>
i
- interceptor to addafterInterceptor
- interceptor type after which to place custom interceptorpublic void addInterceptorBefore(CommandInterceptor i, Class<? extends CommandInterceptor> beforeInterceptor)
AdvancedCache
addInterceptorBefore
in interface AdvancedCache<K,V>
i
- interceptor to addbeforeInterceptor
- interceptor type before which to place custom interceptorpublic void removeInterceptor(int position)
AdvancedCache
removeInterceptor
in interface AdvancedCache<K,V>
position
- the position at which to remove an interceptorpublic void removeInterceptor(Class<? extends CommandInterceptor> interceptorType)
AdvancedCache
removeInterceptor
in interface AdvancedCache<K,V>
interceptorType
- type of interceptor to removepublic List<CommandInterceptor> getInterceptorChain()
AdvancedCache
getInterceptorChain
in interface AdvancedCache<K,V>
List
of CommandInterceptor
s
configured for this cachepublic EvictionManager getEvictionManager()
getEvictionManager
in interface AdvancedCache<K,V>
public ComponentRegistry getComponentRegistry()
getComponentRegistry
in interface AdvancedCache<K,V>
public RpcManager getRpcManager()
getRpcManager
in interface AdvancedCache<K,V>
public BatchContainer getBatchContainer()
getBatchContainer
in interface AdvancedCache<K,V>
public InvocationContextContainer getInvocationContextContainer()
getInvocationContextContainer
in interface AdvancedCache<K,V>
public DataContainer getDataContainer()
getDataContainer
in interface AdvancedCache<K,V>
public void putForExternalRead(K key, V value, Flag... flags)
putForExternalRead
in interface AdvancedCache<K,V>
public V put(K key, V value, Flag... flags)
put
in interface AdvancedCache<K,V>
public V put(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit, Flag... flags)
put
in interface AdvancedCache<K,V>
public V putIfAbsent(K key, V value, Flag... flags)
putIfAbsent
in interface AdvancedCache<K,V>
public V putIfAbsent(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit, Flag... flags)
putIfAbsent
in interface AdvancedCache<K,V>
public void putAll(Map<? extends K,? extends V> map, Flag... flags)
putAll
in interface AdvancedCache<K,V>
public void putAll(Map<? extends K,? extends V> map, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit, Flag... flags)
putAll
in interface AdvancedCache<K,V>
public V remove(Object key, Flag... flags)
remove
in interface AdvancedCache<K,V>
public void clear(Flag... flags)
clear
in interface AdvancedCache<K,V>
public V replace(K k, V v, Flag... flags)
replace
in interface AdvancedCache<K,V>
public boolean replace(K k, V oV, V nV, Flag... flags)
replace
in interface AdvancedCache<K,V>
public V replace(K k, V v, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit, Flag... flags)
replace
in interface AdvancedCache<K,V>
public boolean replace(K k, V oV, V nV, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit, Flag... flags)
replace
in interface AdvancedCache<K,V>
public Future<V> putAsync(K key, V value, Flag... flags)
putAsync
in interface AdvancedCache<K,V>
public Future<V> putAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit, Flag... flags)
putAsync
in interface AdvancedCache<K,V>
public Future<V> putIfAbsentAsync(K key, V value, Flag... flags)
putIfAbsentAsync
in interface AdvancedCache<K,V>
public Future<V> putIfAbsentAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit, Flag... flags)
putIfAbsentAsync
in interface AdvancedCache<K,V>
public Future<Void> putAllAsync(Map<? extends K,? extends V> map, Flag... flags)
putAllAsync
in interface AdvancedCache<K,V>
public Future<Void> putAllAsync(Map<? extends K,? extends V> map, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit, Flag... flags)
putAllAsync
in interface AdvancedCache<K,V>
public Future<V> removeAsync(Object key, Flag... flags)
removeAsync
in interface AdvancedCache<K,V>
public Future<Void> clearAsync(Flag... flags)
clearAsync
in interface AdvancedCache<K,V>
public Future<V> replaceAsync(K k, V v, Flag... flags)
replaceAsync
in interface AdvancedCache<K,V>
public Future<Boolean> replaceAsync(K k, V oV, V nV, Flag... flags)
replaceAsync
in interface AdvancedCache<K,V>
public Future<V> replaceAsync(K k, V v, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit, Flag... flags)
replaceAsync
in interface AdvancedCache<K,V>
public Future<Boolean> replaceAsync(K k, V oV, V nV, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit, Flag... flags)
replaceAsync
in interface AdvancedCache<K,V>
public boolean containsKey(Object key, Flag... flags)
containsKey
in interface AdvancedCache<K,V>
public V get(Object key, Flag... flags)
get
in interface AdvancedCache<K,V>
public Future<V> putAsync(K key, V value)
Cache
Map.put(Object, Object)
. This method does not block on remote calls, even if your
cache mode is synchronous. Has no benefit over Map.put(Object, Object)
if used in LOCAL mode.
putAsync
in interface Cache<K,V>
key
- key to usevalue
- value to store
public Future<V> putAsync(K key, V value, long lifespan, TimeUnit unit)
Cache
Cache.put(Object, Object, long, TimeUnit)
. This method does not block on remote
calls, even if your cache mode is synchronous. Has no benefit over Cache.put(Object, Object, long, TimeUnit)
if used in LOCAL mode.
putAsync
in interface Cache<K,V>
key
- key to usevalue
- value to storelifespan
- lifespan of entryunit
- time unit for lifespan
public Future<V> putAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
Cache
Cache.put(Object, Object, long, TimeUnit, long, TimeUnit)
. This method does not block
on remote calls, even if your cache mode is synchronous. Has no benefit over Cache.put(Object, Object, long,
TimeUnit, long, TimeUnit)
if used in LOCAL mode.
putAsync
in interface Cache<K,V>
key
- key to usevalue
- value to storelifespan
- lifespan of entrylifespanUnit
- time unit for lifespanmaxIdle
- the maximum amount of time this key is allowed to be idle for before it is considered as
expiredmaxIdleUnit
- time unit for max idle time
public Future<Void> putAllAsync(Map<? extends K,? extends V> data)
Cache
Map.putAll(Map)
. This method does not block on remote calls, even if your cache mode
is synchronous. Has no benefit over Map.putAll(Map)
if used in LOCAL mode.
putAllAsync
in interface Cache<K,V>
data
- to store
public Future<Void> putAllAsync(Map<? extends K,? extends V> data, long lifespan, TimeUnit unit)
Cache
Cache.putAll(Map, long, TimeUnit)
. This method does not block on remote calls, even if
your cache mode is synchronous. Has no benefit over Cache.putAll(Map, long, TimeUnit)
if used in LOCAL mode.
putAllAsync
in interface Cache<K,V>
data
- to storelifespan
- lifespan of entryunit
- time unit for lifespan
public Future<Void> putAllAsync(Map<? extends K,? extends V> data, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
Cache
Cache.putAll(Map, long, TimeUnit, long, TimeUnit)
. This method does not block on
remote calls, even if your cache mode is synchronous. Has no benefit over Cache.putAll(Map, long, TimeUnit,
long, TimeUnit)
if used in LOCAL mode.
putAllAsync
in interface Cache<K,V>
data
- to storelifespan
- lifespan of entrylifespanUnit
- time unit for lifespanmaxIdle
- the maximum amount of time this key is allowed to be idle for before it is considered as
expiredmaxIdleUnit
- time unit for max idle time
public Future<Void> clearAsync()
Cache
Map.clear()
. This method does not block on remote calls, even if your cache mode is
synchronous. Has no benefit over Map.clear()
if used in LOCAL mode.
clearAsync
in interface Cache<K,V>
public Future<V> putIfAbsentAsync(K key, V value)
Cache
ConcurrentMap.putIfAbsent(Object, Object)
. This method does not block on remote calls, even if
your cache mode is synchronous. Has no benefit over ConcurrentMap.putIfAbsent(Object, Object)
if used in LOCAL mode.
putIfAbsentAsync
in interface Cache<K,V>
key
- key to usevalue
- value to store
public Future<V> putIfAbsentAsync(K key, V value, long lifespan, TimeUnit unit)
Cache
Cache.putIfAbsent(Object, Object, long, TimeUnit)
. This method does not block on
remote calls, even if your cache mode is synchronous. Has no benefit over Cache.putIfAbsent(Object, Object,
long, TimeUnit)
if used in LOCAL mode.
putIfAbsentAsync
in interface Cache<K,V>
key
- key to usevalue
- value to storelifespan
- lifespan of entryunit
- time unit for lifespan
public Future<V> putIfAbsentAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
Cache
Cache.putIfAbsent(Object, Object, long, TimeUnit, long, TimeUnit)
. This method does
not block on remote calls, even if your cache mode is synchronous. Has no benefit over Cache.putIfAbsent(Object, Object, long, TimeUnit, long, TimeUnit)
if used in LOCAL mode.
putIfAbsentAsync
in interface Cache<K,V>
key
- key to usevalue
- value to storelifespan
- lifespan of entrylifespanUnit
- time unit for lifespanmaxIdle
- the maximum amount of time this key is allowed to be idle for before it is considered as
expiredmaxIdleUnit
- time unit for max idle time
public Future<V> removeAsync(Object key)
Cache
Map.remove(Object)
. This method does not block on remote calls, even if your cache
mode is synchronous. Has no benefit over Map.remove(Object)
if used in LOCAL mode.
removeAsync
in interface Cache<K,V>
key
- key to remove
public Future<Boolean> removeAsync(Object key, Object value)
Cache
ConcurrentMap.remove(Object, Object)
. This method does not block on remote calls, even if your
cache mode is synchronous. Has no benefit over ConcurrentMap.remove(Object, Object)
if used in LOCAL mode.
removeAsync
in interface Cache<K,V>
key
- key to removevalue
- value to match on
public Future<V> replaceAsync(K key, V value)
Cache
ConcurrentMap.replace(Object, Object)
. This method does not block on remote calls, even if
your cache mode is synchronous. Has no benefit over ConcurrentMap.replace(Object, Object)
if used in LOCAL mode.
replaceAsync
in interface Cache<K,V>
key
- key to removevalue
- value to store
public Future<V> replaceAsync(K key, V value, long lifespan, TimeUnit unit)
Cache
Cache.replace(Object, Object, long, TimeUnit)
. This method does not block on remote
calls, even if your cache mode is synchronous. Has no benefit over Cache.replace(Object, Object, long,
TimeUnit)
if used in LOCAL mode.
replaceAsync
in interface Cache<K,V>
key
- key to removevalue
- value to storelifespan
- lifespan of entryunit
- time unit for lifespan
public Future<V> replaceAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
Cache
Cache.replace(Object, Object, long, TimeUnit, long, TimeUnit)
. This method does not
block on remote calls, even if your cache mode is synchronous. Has no benefit over Cache.replace(Object,
Object, long, TimeUnit, long, TimeUnit)
if used in LOCAL mode.
replaceAsync
in interface Cache<K,V>
key
- key to removevalue
- value to storelifespan
- lifespan of entrylifespanUnit
- time unit for lifespanmaxIdle
- the maximum amount of time this key is allowed to be idle for before it is considered as
expiredmaxIdleUnit
- time unit for max idle time
public Future<Boolean> replaceAsync(K key, V oldValue, V newValue)
Cache
ConcurrentMap.replace(Object, Object, Object)
. This method does not block on remote calls,
even if your cache mode is synchronous. Has no benefit over ConcurrentMap.replace(Object, Object, Object)
if used in
LOCAL mode.
replaceAsync
in interface Cache<K,V>
key
- key to removeoldValue
- value to overwritenewValue
- value to store
public Future<Boolean> replaceAsync(K key, V oldValue, V newValue, long lifespan, TimeUnit unit)
Cache
Cache.replace(Object, Object, Object, long, TimeUnit)
. This method does not block on
remote calls, even if your cache mode is synchronous. Has no benefit over Cache.replace(Object, Object, Object,
long, TimeUnit)
if used in LOCAL mode.
replaceAsync
in interface Cache<K,V>
key
- key to removeoldValue
- value to overwritenewValue
- value to storelifespan
- lifespan of entryunit
- time unit for lifespan
public Future<Boolean> replaceAsync(K key, V oldValue, V newValue, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
Cache
Cache.replace(Object, Object, Object, long, TimeUnit, long, TimeUnit)
. This method
does not block on remote calls, even if your cache mode is synchronous. Has no benefit over Cache.replace(Object, Object, Object, long, TimeUnit, long, TimeUnit)
if used in LOCAL mode.
replaceAsync
in interface Cache<K,V>
key
- key to removeoldValue
- value to overwritenewValue
- value to storelifespan
- lifespan of entrylifespanUnit
- time unit for lifespanmaxIdle
- the maximum amount of time this key is allowed to be idle for before it is considered as
expiredmaxIdleUnit
- time unit for max idle time
public void lock(K key)
lock
in interface AdvancedCache<K,V>
public void lock(Collection<? extends K> keys)
lock
in interface AdvancedCache<K,V>
public void unlock(K key)
unlock
in interface AdvancedCache<K,V>
public void unlock(Collection<? extends K> keys)
unlock
in interface AdvancedCache<K,V>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |