public class CacheWithCodec
extends org.infinispan.AbstractDelegatingCache
| Constructor and Description |
|---|
CacheWithCodec(org.infinispan.Cache cache,
Codec codec) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set |
entrySet() |
void |
evict(Object key) |
Object |
get(Object key) |
Set |
keySet() |
Object |
put(Object key,
Object value) |
Object |
put(Object key,
Object value,
long lifespan,
TimeUnit unit) |
Object |
put(Object key,
Object value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
void |
putAll(Map t) |
void |
putAll(Map map,
long lifespan,
TimeUnit unit) |
void |
putAll(Map map,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
void |
putForExternalRead(Object key,
Object value) |
Object |
putIfAbsent(Object key,
Object value) |
Object |
putIfAbsent(Object key,
Object value,
long lifespan,
TimeUnit unit) |
Object |
putIfAbsent(Object key,
Object value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
Object |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
Object |
replace(Object key,
Object value) |
Object |
replace(Object key,
Object value,
long lifespan,
TimeUnit unit) |
Object |
replace(Object key,
Object value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
boolean |
replace(Object key,
Object oldValue,
Object newValue) |
boolean |
replace(Object key,
Object oldValue,
Object value,
long lifespan,
TimeUnit unit) |
boolean |
replace(Object key,
Object oldValue,
Object value,
long lifespan,
TimeUnit lifespanUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
Collection |
values() |
addListener, addListener, clear, clearAsync, endBatch, getAdvancedCache, getAsync, getCacheConfiguration, getCacheManager, getDelegate, getListeners, getName, getStatus, getVersion, isEmpty, putAllAsync, putAllAsync, putAllAsync, putAsync, putAsync, putAsync, putIfAbsentAsync, putIfAbsentAsync, putIfAbsentAsync, removeAsync, removeAsync, removeListener, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, set, size, start, startBatch, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAllpublic CacheWithCodec(org.infinispan.Cache cache,
Codec codec)
public void putForExternalRead(Object key, Object value)
putForExternalRead in interface org.infinispan.CacheputForExternalRead in class org.infinispan.AbstractDelegatingCachepublic void evict(Object key)
evict in interface org.infinispan.Cacheevict in class org.infinispan.AbstractDelegatingCachepublic Object put(Object key, Object value, long lifespan, TimeUnit unit)
put in interface org.infinispan.commons.api.BasicCacheput in class org.infinispan.AbstractDelegatingCachepublic Object putIfAbsent(Object key, Object value, long lifespan, TimeUnit unit)
putIfAbsent in interface org.infinispan.commons.api.BasicCacheputIfAbsent in class org.infinispan.AbstractDelegatingCachepublic void putAll(Map map, long lifespan, TimeUnit unit)
putAll in interface org.infinispan.commons.api.BasicCacheputAll in class org.infinispan.AbstractDelegatingCachepublic Object replace(Object key, Object value, long lifespan, TimeUnit unit)
replace in interface org.infinispan.commons.api.BasicCachereplace in class org.infinispan.AbstractDelegatingCachepublic boolean replace(Object key, Object oldValue, Object value, long lifespan, TimeUnit unit)
replace in interface org.infinispan.commons.api.BasicCachereplace in class org.infinispan.AbstractDelegatingCachepublic Object put(Object key, Object value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit)
put in interface org.infinispan.commons.api.BasicCacheput in class org.infinispan.AbstractDelegatingCachepublic Object putIfAbsent(Object key, Object value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit)
putIfAbsent in interface org.infinispan.commons.api.BasicCacheputIfAbsent in class org.infinispan.AbstractDelegatingCachepublic void putAll(Map map, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit)
putAll in interface org.infinispan.commons.api.BasicCacheputAll in class org.infinispan.AbstractDelegatingCachepublic Object replace(Object key, Object value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit)
replace in interface org.infinispan.commons.api.BasicCachereplace in class org.infinispan.AbstractDelegatingCachepublic boolean replace(Object key, Object oldValue, Object value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit)
replace in interface org.infinispan.commons.api.BasicCachereplace in class org.infinispan.AbstractDelegatingCachepublic Object putIfAbsent(Object key, Object value)
putIfAbsent in interface ConcurrentMapputIfAbsent in interface MapputIfAbsent in class org.infinispan.AbstractDelegatingCachepublic boolean remove(Object key, Object value)
remove in interface ConcurrentMapremove in interface Mapremove in class org.infinispan.AbstractDelegatingCachepublic boolean replace(Object key, Object oldValue, Object newValue)
replace in interface ConcurrentMapreplace in interface Mapreplace in class org.infinispan.AbstractDelegatingCachepublic Object replace(Object key, Object value)
replace in interface ConcurrentMapreplace in interface Mapreplace in class org.infinispan.AbstractDelegatingCachepublic boolean containsKey(Object key)
containsKey in interface MapcontainsKey in class org.infinispan.AbstractDelegatingCachepublic boolean containsValue(Object value)
containsValue in interface MapcontainsValue in class org.infinispan.AbstractDelegatingCachepublic void putAll(Map t)
public Set keySet()
public Set entrySet()
public Collection values()
Copyright © 2015. All Rights Reserved.