Class AbstractAdvancedCache<K,V>
java.lang.Object
org.infinispan.cache.impl.AbstractDelegatingCache<K,V>
org.infinispan.cache.impl.AbstractDelegatingAdvancedCache<K,V>
org.wildfly.clustering.cache.infinispan.embedded.AbstractAdvancedCache<K,V>
- Type Parameters:
K- the cache key typeV- the cache value type
- All Implemented Interfaces:
ConcurrentMap<K,,V> Map<K,,V> org.infinispan.AdvancedCache<K,,V> org.infinispan.Cache<K,,V> org.infinispan.cache.impl.InternalCache<K,,V> org.infinispan.commons.api.AsyncCache<K,,V> org.infinispan.commons.api.BasicCache<K,,V> org.infinispan.commons.api.BatchingCache,org.infinispan.commons.api.Lifecycle,org.infinispan.commons.api.TransactionalCache,org.infinispan.notifications.FilteringListenable<K,,V> org.infinispan.notifications.Listenable
- Direct Known Subclasses:
InvalidationCache
public abstract class AbstractAdvancedCache<K,V>
extends org.infinispan.cache.impl.AbstractDelegatingAdvancedCache<K,V>
- Author:
- Paul Ferraro
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.infinispan.cache.impl.AbstractDelegatingAdvancedCache
cache -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAdvancedCache(org.infinispan.AdvancedCache<K, V> cache) -
Method Summary
Modifier and TypeMethodDescriptioncompute(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) compute(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit) computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) computeIfAbsentAsync(K key, Function<? super K, ? extends V> mappingFunction) computeIfAbsentAsync(K key, Function<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit) computeIfAbsentAsync(K key, Function<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) merge(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) merge(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction) mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) voidvoidvoidputAll(Map<? extends K, ? extends V> entries, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) putAllAsync(Map<? extends K, ? extends V> entries) putAllAsync(Map<? extends K, ? extends V> entries, long lifespan, TimeUnit lifespanUnit) putAllAsync(Map<? extends K, ? extends V> entries, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) voidputForExternalRead(K key, V value) voidputForExternalRead(K key, V value, long lifespan, TimeUnit lifespanUnit) voidputForExternalRead(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) putIfAbsent(K key, V value) putIfAbsent(K key, V value, long lifespan, TimeUnit lifespanUnit) putIfAbsent(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) putIfAbsentAsync(K key, V value) putIfAbsentAsync(K key, V value, long lifespan, TimeUnit lifespanUnit) putIfAbsentAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) replaceAsync(K key, V value) replaceAsync(K key, V value, long lifespan, TimeUnit lifespanUnit) replaceAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) withFlags(org.infinispan.context.Flag flag) withFlags(org.infinispan.context.Flag... flags) Methods inherited from class org.infinispan.cache.impl.AbstractDelegatingAdvancedCache
cacheEntrySet, cachePublisher, compute, computeAsync, computeIfAbsent, computeIfAbsentAsync, computeIfPresent, computeIfPresentAsync, getAdvancedCache, getAll, getAllAsync, getAllCacheEntries, getAndPutAll, getAuthorizationManager, getAvailability, getBatchContainer, getCacheAvailability, getCacheEntry, getCacheEntryAsync, getClassLoader, getComponentRegistry, getDataContainer, getDistributionManager, getExpirationManager, getGroup, getKeyDataConversion, getLockManager, getRpcManager, getStats, getTransactionManager, getValueDataConversion, getXAResource, isRebalancingEnabled, lock, lock, lockAs, lockedStream, merge, mergeAsync, noFlags, put, putAll, putAllAsync, putAsync, putAsyncEntry, putForExternalRead, putIfAbsent, putIfAbsentAsync, putIfAbsentAsyncEntry, removeAsyncEntry, removeGroup, removeLifespanExpired, removeMaxIdleExpired, replace, replace, replaceAsync, replaceAsync, replaceAsyncEntry, rewrap, setAvailability, setCacheAvailability, setRebalancingEnabled, touch, touch, transform, withEncoding, withEncoding, withFlags, withKeyEncoding, withMediaType, withMediaType, withStorageMediaType, withSubject, withWrapping, withWrappingMethods inherited from class org.infinispan.cache.impl.AbstractDelegatingCache
addFilteredListener, addFilteredListenerAsync, addListener, addListener, addListenerAsync, addListenerAsync, addStorageFormatFilteredListener, addStorageFormatFilteredListenerAsync, clear, clearAsync, containsKey, containsValue, continuousQuery, endBatch, entrySet, evict, forEach, get, getAsync, getCacheConfiguration, getCacheManager, getCacheName, getCacheStatus, getConfigurationAsProperties, getDelegate, getName, getOrDefault, getStatus, getVersion, isEmpty, keySet, query, remove, remove, removeAsync, removeAsync, removeListener, removeListenerAsync, replace, replace, replace, replaceAll, replaceAsync, replaceAsync, replaceAsync, shutdown, size, sizeAsync, start, startBatch, stop, toString, unwrapCache, valuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.AdvancedCache
compute, computeAsync, computeIfAbsent, computeIfAbsentAsync, computeIfPresent, computeIfPresentAsync, merge, mergeAsyncMethods inherited from interface org.infinispan.commons.api.AsyncCache
clearAsync, containsKeyAsync, getAsync, removeAsync, removeAsync, replaceAsync, replaceAsync, replaceAsync, sizeAsyncMethods inherited from interface org.infinispan.commons.api.BasicCache
continuousQuery, getName, getVersion, query, remove, replace, replaceMethods inherited from interface org.infinispan.commons.api.BatchingCache
endBatch, startBatchMethods inherited from interface org.infinispan.Cache
clear, compute, compute, compute, computeAsync, computeAsync, computeAsync, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfAbsentAsync, computeIfAbsentAsync, computeIfAbsentAsync, computeIfPresent, computeIfPresentAsync, entrySet, evict, getCacheConfiguration, getCacheManager, getStatus, keySet, merge, merge, merge, mergeAsync, mergeAsync, mergeAsync, shutdown, size, stop, valuesMethods inherited from interface java.util.concurrent.ConcurrentMap
forEach, getOrDefault, remove, replace, replaceAllMethods inherited from interface org.infinispan.notifications.FilteringListenable
addFilteredListener, addFilteredListenerAsync, addListener, addListenerAsync, addStorageFormatFilteredListener, addStorageFormatFilteredListenerAsyncMethods inherited from interface org.infinispan.cache.impl.InternalCache
bypassInvocationContextFactoryMethods inherited from interface org.infinispan.commons.api.Lifecycle
startMethods inherited from interface org.infinispan.notifications.Listenable
addListener, addListenerAsync, removeListener, removeListenerAsyncMethods inherited from interface java.util.Map
containsKey, containsValue, equals, get, hashCode, isEmpty
-
Constructor Details
-
AbstractAdvancedCache
-
-
Method Details
-
compute
-
compute
-
compute
-
computeIfAbsent
- Specified by:
computeIfAbsentin interfaceorg.infinispan.Cache<K,V> - Specified by:
computeIfAbsentin interfaceConcurrentMap<K,V> - Specified by:
computeIfAbsentin interfaceMap<K,V> - Overrides:
computeIfAbsentin classorg.infinispan.cache.impl.AbstractDelegatingCache<K,V>
-
computeIfAbsent
-
computeIfAbsent
-
computeIfPresent
- Specified by:
computeIfPresentin interfaceorg.infinispan.Cache<K,V> - Specified by:
computeIfPresentin interfaceConcurrentMap<K,V> - Specified by:
computeIfPresentin interfaceMap<K,V> - Overrides:
computeIfPresentin classorg.infinispan.cache.impl.AbstractDelegatingCache<K,V>
-
computeIfPresent
-
computeIfPresent
-
merge
-
merge
-
merge
-
put
-
put
-
put
-
putAll
-
putAll
-
putAll
-
putForExternalRead
-
putForExternalRead
-
putForExternalRead
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceConcurrentMap<K,V> - Specified by:
putIfAbsentin interfaceMap<K,V> - Overrides:
putIfAbsentin classorg.infinispan.cache.impl.AbstractDelegatingCache<K,V>
-
putIfAbsent
-
putIfAbsent
-
replace
-
replace
-
replace
-
computeAsync
public CompletableFuture<V> computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) -
computeAsync
public CompletableFuture<V> computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) -
computeAsync
public CompletableFuture<V> computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) -
computeIfAbsentAsync
-
computeIfAbsentAsync
-
computeIfAbsentAsync
-
computeIfPresentAsync
public CompletableFuture<V> computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) -
computeIfPresentAsync
public CompletableFuture<V> computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) -
computeIfPresentAsync
public CompletableFuture<V> computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) -
mergeAsync
public CompletableFuture<V> mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction) -
mergeAsync
public CompletableFuture<V> mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) -
mergeAsync
public CompletableFuture<V> mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit) -
putAsync
-
putAsync
-
putAsync
-
putAllAsync
-
putAllAsync
-
putAllAsync
-
putIfAbsentAsync
-
putIfAbsentAsync
-
putIfAbsentAsync
-
replaceAsync
-
replaceAsync
-
replaceAsync
-
withFlags
-
withFlags
-