Class AdvancedCacheDecorator<K,V>
java.lang.Object
org.wildfly.clustering.cache.infinispan.AbstractBasicCacheDecorator<K,V>
org.wildfly.clustering.cache.infinispan.NonBlockingBasicCacheDecorator<K,V>
org.wildfly.clustering.cache.infinispan.embedded.AdvancedCacheDecorator<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
public class AdvancedCacheDecorator<K,V>
extends NonBlockingBasicCacheDecorator<K,V>
implements org.infinispan.AdvancedCache<K,V>, org.infinispan.cache.impl.InternalCache<K,V>
An
AdvancedCache decorator.
N.B. Implements InternalCache which is required by ComponentRegistry.of(org.infinispan.Cache).- Author:
- Paul Ferraro
-
Nested Class Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAdvancedCacheDecorator(org.infinispan.AdvancedCache<K, V> cache, UnaryOperator<org.infinispan.AdvancedCache<K, V>> decorator) Creates an embedded cache decorator. -
Method Summary
Modifier and TypeMethodDescription<C> CompletionStage<Void> addFilteredListenerAsync(Object listener, org.infinispan.notifications.cachelistener.filter.CacheEventFilter<? super K, ? super V> filter, org.infinispan.notifications.cachelistener.filter.CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) addListenerAsync(Object listener) <C> CompletionStage<Void> addListenerAsync(Object listener, org.infinispan.notifications.cachelistener.filter.CacheEventFilter<? super K, ? super V> filter, org.infinispan.notifications.cachelistener.filter.CacheEventConverter<? super K, ? super V, C> converter) <C> CompletionStage<Void> addStorageFormatFilteredListenerAsync(Object listener, org.infinispan.notifications.cachelistener.filter.CacheEventFilter<? super K, ? super V> filter, org.infinispan.notifications.cachelistener.filter.CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) booleanvoidclear()compute(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 maxIdleTime, TimeUnit maxIdleTimeUnit) compute(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, org.infinispan.metadata.Metadata metadata) 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 maxIdleTime, TimeUnit maxIdleTimeUnit) computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, org.infinispan.metadata.Metadata metadata) 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 maxIdleTime, TimeUnit maxIdleTimeUnit) computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction, org.infinispan.metadata.Metadata metadata) 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 maxIdleTime, TimeUnit maxIdleTimeUnit) computeIfAbsentAsync(K key, Function<? super K, ? extends V> mappingFunction, org.infinispan.metadata.Metadata metadata) 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 maxIdleTime, TimeUnit maxIdleTimeUnit) computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, org.infinispan.metadata.Metadata metadata) 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 maxIdleTime, TimeUnit maxIdleTimeUnit) computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, org.infinispan.metadata.Metadata metadata) booleancontainsKey(Object key) containsKeyAsync(K key) booleancontainsValue(Object value) voidendBatch(boolean successful) entrySet()booleanvoidgetAllAsync(Set<?> keys) getAllCacheEntries(Set<?> keys) org.infinispan.security.AuthorizationManagerorg.infinispan.partitionhandling.AvailabilityModeorg.infinispan.batch.BatchContainerorg.infinispan.configuration.cache.ConfigurationgetCacheEntry(Object key) CompletableFuture<org.infinispan.container.entries.CacheEntry<K, V>> getCacheEntryAsync(Object key) org.infinispan.manager.EmbeddedCacheManagerorg.infinispan.factories.ComponentRegistryorg.infinispan.distribution.DistributionManagerorg.infinispan.encoding.DataConversionorg.infinispan.util.concurrent.locks.LockManagergetOrDefault(Object key, V defaultValue) org.infinispan.remoting.rpc.RpcManagerorg.infinispan.stats.StatsgetStats()org.infinispan.lifecycle.ComponentStatusjakarta.transaction.TransactionManagerorg.infinispan.encoding.DataConversionorg.infinispan.CacheSet<K> keySet()booleanlock(Collection<? extends K> keys) booleanmerge(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 maxIdleTime, TimeUnit maxIdleTimeUnit) merge(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, org.infinispan.metadata.Metadata metadata) 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 maxIdleTime, TimeUnit maxIdleTimeUnit) mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, org.infinispan.metadata.Metadata metadata) noFlags()put(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) voidvoidvoidputAll(Map<? extends K, ? extends V> map, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) voidputAllAsync(Map<? extends K, ? extends V> data) putAllAsync(Map<? extends K, ? extends V> data, long lifespan, TimeUnit lifespanUnit) putAllAsync(Map<? extends K, ? extends V> data, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) putAllAsync(Map<? extends K, ? extends V> map, org.infinispan.metadata.Metadata metadata) putAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) CompletableFuture<org.infinispan.container.entries.CacheEntry<K, V>> putAsyncEntry(K key, V value, org.infinispan.metadata.Metadata metadata) voidputForExternalRead(K key, V value) voidputForExternalRead(K key, V value, long lifespan, TimeUnit lifespanUnit) voidputForExternalRead(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) voidputForExternalRead(K key, V value, org.infinispan.metadata.Metadata metadata) putIfAbsent(K key, V value) putIfAbsent(K key, V value, long lifespan, TimeUnit lifespanUnit) putIfAbsent(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) putIfAbsent(K key, V value, org.infinispan.metadata.Metadata metadata) putIfAbsentAsync(K key, V value) putIfAbsentAsync(K key, V value, long lifespan, TimeUnit lifespanUnit) putIfAbsentAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) putIfAbsentAsync(K key, V value, org.infinispan.metadata.Metadata metadata) CompletableFuture<org.infinispan.container.entries.CacheEntry<K, V>> putIfAbsentAsyncEntry(K key, V value, org.infinispan.metadata.Metadata metadata) <T> org.infinispan.commons.api.query.Query<T> CompletableFuture<org.infinispan.container.entries.CacheEntry<K, V>> removeAsyncEntry(Object key) voidremoveGroup(String groupName) removeLifespanExpired(K key, V value, Long lifespan) removeListenerAsync(Object listener) removeMaxIdleExpired(K key, V value) replace(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) booleanbooleanbooleanreplace(K key, V oldValue, V newValue, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) booleanreplaceAsync(K key, V value) replaceAsync(K key, V value, long lifespan, TimeUnit lifespanUnit) replaceAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleUnit) replaceAsync(K key, V value, org.infinispan.metadata.Metadata metadata) replaceAsync(K key, V oldValue, V newValue) replaceAsync(K key, V oldValue, V newValue, long lifespan, TimeUnit lifespanUnit) replaceAsync(K key, V oldValue, V newValue, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) replaceAsync(K key, V oldValue, V newValue, org.infinispan.metadata.Metadata metadata) CompletableFuture<org.infinispan.container.entries.CacheEntry<K, V>> replaceAsyncEntry(K key, V value, org.infinispan.metadata.Metadata metadata) voidsetAvailability(org.infinispan.partitionhandling.AvailabilityMode availabilityMode) intsize()booleantransform(Function<org.infinispan.AdvancedCache<K, V>, ? extends org.infinispan.AdvancedCache<K, V>> transformation) org.infinispan.CacheCollection<V> values()withFlags(Collection<org.infinispan.context.Flag> flags) withFlags(org.infinispan.context.Flag flag) withFlags(org.infinispan.context.Flag... flags) <K1,V1> org.infinispan.AdvancedCache <K1, V1> withMediaType(org.infinispan.commons.dataconversion.MediaType keyMediaType, org.infinispan.commons.dataconversion.MediaType valueMediaType) withSubject(Subject subject) Methods inherited from class NonBlockingBasicCacheDecorator
get, remove, removeMethods inherited from class AbstractBasicCacheDecorator
getAsync, getName, getVersion, hashCode, isEmpty, removeAsync, removeAsync, start, stopMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.AdvancedCache
compute, computeAsync, computeIfAbsent, computeIfAbsentAsync, computeIfPresent, computeIfPresentAsync, getAndPutAll, merge, mergeAsyncMethods inherited from interface org.infinispan.commons.api.AsyncCache
getAsync, removeAsync, removeAsyncMethods inherited from interface org.infinispan.commons.api.BasicCache
getName, getVersion, removeMethods inherited from interface org.infinispan.Cache
compute, compute, compute, computeAsync, computeAsync, computeAsync, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfAbsentAsync, computeIfAbsentAsync, computeIfAbsentAsync, computeIfPresent, computeIfPresentAsync, merge, merge, merge, mergeAsync, mergeAsync, mergeAsync, shutdown, stopMethods inherited from interface ConcurrentMap
forEach, remove, replaceAllMethods inherited from interface org.infinispan.notifications.FilteringListenable
addFilteredListener, addListener, addStorageFormatFilteredListenerMethods inherited from interface org.infinispan.commons.api.Lifecycle
startMethods inherited from interface org.infinispan.notifications.Listenable
addListener, removeListener
-
Constructor Details
-
AdvancedCacheDecorator
protected AdvancedCacheDecorator(org.infinispan.AdvancedCache<K, V> cache, UnaryOperator<org.infinispan.AdvancedCache<K, V>> decorator) Creates an embedded cache decorator.- Parameters:
cache- the cache to which to delegate.decorator- the cache decorator
-
-
Method Details
-
getComponentRegistry
-
bypassInvocationContextFactory
-
getCacheConfiguration
-
getCacheManager
-
getAdvancedCache
-
getAvailability
-
setAvailability
-
getAuthorizationManager
-
getBatchContainer
-
getClassLoader
-
getStatus
-
getDataContainer
-
getKeyDataConversion
-
getValueDataConversion
-
getDistributionManager
-
getExpirationManager
-
getLockManager
-
getRpcManager
-
getStats
-
getTransactionManager
public jakarta.transaction.TransactionManager getTransactionManager()- Specified by:
getTransactionManagerin interfaceorg.infinispan.commons.api.TransactionalCache
-
getXAResource
-
lockAs
-
noFlags
-
transform
-
withFlags
-
withFlags
-
withFlags
-
withMediaType
-
withStorageMediaType
-
withSubject
-
cachePublisher
-
cacheEntrySet
-
entrySet
-
keySet
-
lockedStream
-
values
-
clear
-
clearAsync
- Specified by:
clearAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
clearAsyncin classAbstractBasicCacheDecorator<K,V>
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,V> - Overrides:
containsKeyin classNonBlockingBasicCacheDecorator<K,V>
-
containsKeyAsync
- Specified by:
containsKeyAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
containsKeyAsyncin classAbstractBasicCacheDecorator<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V> - Overrides:
containsValuein classAbstractBasicCacheDecorator<K,V>
-
size
-
sizeAsync
-
getOrDefault
- Specified by:
getOrDefaultin interfaceConcurrentMap<K,V> - Specified by:
getOrDefaultin interfaceMap<K,V>
-
getAllAsync
- Specified by:
getAllAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
getAllAsyncin classAbstractBasicCacheDecorator<K,V>
-
compute
-
compute
-
compute
-
compute
-
computeAsync
public CompletableFuture<V> computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) - Specified by:
computeAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
computeAsyncin classAbstractBasicCacheDecorator<K,V>
-
computeAsync
public CompletableFuture<V> computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) - Specified by:
computeAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
computeAsyncin classAbstractBasicCacheDecorator<K,V>
-
computeAsync
public CompletableFuture<V> computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) - Specified by:
computeAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
computeAsyncin classAbstractBasicCacheDecorator<K,V>
-
computeAsync
public CompletableFuture<V> computeAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, org.infinispan.metadata.Metadata metadata) -
computeIfAbsent
- Specified by:
computeIfAbsentin interfaceorg.infinispan.Cache<K,V> - Specified by:
computeIfAbsentin interfaceConcurrentMap<K,V> - Specified by:
computeIfAbsentin interfaceMap<K,V> - Overrides:
computeIfAbsentin classNonBlockingBasicCacheDecorator<K,V>
-
computeIfAbsent
-
computeIfAbsent
public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) - Specified by:
computeIfAbsentin interfaceorg.infinispan.commons.api.BasicCache<K,V> - Overrides:
computeIfAbsentin classNonBlockingBasicCacheDecorator<K,V>
-
computeIfAbsent
-
computeIfAbsentAsync
public CompletableFuture<V> computeIfAbsentAsync(K key, Function<? super K, ? extends V> mappingFunction) - Specified by:
computeIfAbsentAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
computeIfAbsentAsyncin classAbstractBasicCacheDecorator<K,V>
-
computeIfAbsentAsync
public CompletableFuture<V> computeIfAbsentAsync(K key, Function<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit) - Specified by:
computeIfAbsentAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
computeIfAbsentAsyncin classAbstractBasicCacheDecorator<K,V>
-
computeIfAbsentAsync
public CompletableFuture<V> computeIfAbsentAsync(K key, Function<? super K, ? extends V> mappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) - Specified by:
computeIfAbsentAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
computeIfAbsentAsyncin classAbstractBasicCacheDecorator<K,V>
-
computeIfAbsentAsync
-
computeIfPresent
- Specified by:
computeIfPresentin interfaceorg.infinispan.Cache<K,V> - Specified by:
computeIfPresentin interfaceConcurrentMap<K,V> - Specified by:
computeIfPresentin interfaceMap<K,V> - Overrides:
computeIfPresentin classNonBlockingBasicCacheDecorator<K,V>
-
computeIfPresent
public V computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) - Specified by:
computeIfPresentin interfaceorg.infinispan.commons.api.BasicCache<K,V> - Overrides:
computeIfPresentin classNonBlockingBasicCacheDecorator<K,V>
-
computeIfPresent
public V computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) - Specified by:
computeIfPresentin interfaceorg.infinispan.commons.api.BasicCache<K,V> - Overrides:
computeIfPresentin classNonBlockingBasicCacheDecorator<K,V>
-
computeIfPresent
-
computeIfPresentAsync
public CompletableFuture<V> computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) - Specified by:
computeIfPresentAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
computeIfPresentAsyncin classAbstractBasicCacheDecorator<K,V>
-
computeIfPresentAsync
public CompletableFuture<V> computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) - Specified by:
computeIfPresentAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
computeIfPresentAsyncin classAbstractBasicCacheDecorator<K,V>
-
computeIfPresentAsync
public CompletableFuture<V> computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) - Specified by:
computeIfPresentAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
computeIfPresentAsyncin classAbstractBasicCacheDecorator<K,V>
-
computeIfPresentAsync
public CompletableFuture<V> computeIfPresentAsync(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, org.infinispan.metadata.Metadata metadata) -
getAll
-
lock
-
lock
-
merge
-
merge
-
merge
-
merge
-
mergeAsync
public CompletableFuture<V> mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction) - Specified by:
mergeAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
mergeAsyncin classAbstractBasicCacheDecorator<K,V>
-
mergeAsync
public CompletableFuture<V> mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit) - Specified by:
mergeAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
mergeAsyncin classAbstractBasicCacheDecorator<K,V>
-
mergeAsync
public CompletableFuture<V> mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) - Specified by:
mergeAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
mergeAsyncin classAbstractBasicCacheDecorator<K,V>
-
mergeAsync
public CompletableFuture<V> mergeAsync(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, org.infinispan.metadata.Metadata metadata) -
put
-
put
-
put
-
put
-
putAsync
-
putAsync
-
putAsync
-
putAsync
-
putAll
-
putAll
-
putAll
-
putAll
-
putAllAsync
- Specified by:
putAllAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
putAllAsyncin classAbstractBasicCacheDecorator<K,V>
-
putAllAsync
public CompletableFuture<Void> putAllAsync(Map<? extends K, ? extends V> data, long lifespan, TimeUnit lifespanUnit) - Specified by:
putAllAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
putAllAsyncin classAbstractBasicCacheDecorator<K,V>
-
putAllAsync
public CompletableFuture<Void> putAllAsync(Map<? extends K, ? extends V> data, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) - Specified by:
putAllAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
putAllAsyncin classAbstractBasicCacheDecorator<K,V>
-
putAllAsync
-
putForExternalRead
-
putForExternalRead
-
putForExternalRead
-
putForExternalRead
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceConcurrentMap<K,V> - Specified by:
putIfAbsentin interfaceMap<K,V> - Overrides:
putIfAbsentin classNonBlockingBasicCacheDecorator<K,V>
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceorg.infinispan.commons.api.BasicCache<K,V> - Overrides:
putIfAbsentin classNonBlockingBasicCacheDecorator<K,V>
-
putIfAbsent
-
putIfAbsent
-
putIfAbsentAsync
- Specified by:
putIfAbsentAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
putIfAbsentAsyncin classAbstractBasicCacheDecorator<K,V>
-
putIfAbsentAsync
- Specified by:
putIfAbsentAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
putIfAbsentAsyncin classAbstractBasicCacheDecorator<K,V>
-
putIfAbsentAsync
public CompletableFuture<V> putIfAbsentAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) - Specified by:
putIfAbsentAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
putIfAbsentAsyncin classAbstractBasicCacheDecorator<K,V>
-
putIfAbsentAsync
-
replace
-
replace
-
replace
-
replace
-
replaceAsync
- Specified by:
replaceAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
replaceAsyncin classAbstractBasicCacheDecorator<K,V>
-
replaceAsync
- Specified by:
replaceAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
replaceAsyncin classAbstractBasicCacheDecorator<K,V>
-
replaceAsync
public CompletableFuture<V> replaceAsync(K key, V value, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleUnit) - Specified by:
replaceAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
replaceAsyncin classAbstractBasicCacheDecorator<K,V>
-
replaceAsync
-
replace
-
replace
-
replace
-
replace
-
replaceAsync
- Specified by:
replaceAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
replaceAsyncin classAbstractBasicCacheDecorator<K,V>
-
replaceAsync
public CompletableFuture<Boolean> replaceAsync(K key, V oldValue, V newValue, long lifespan, TimeUnit lifespanUnit) - Specified by:
replaceAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
replaceAsyncin classAbstractBasicCacheDecorator<K,V>
-
replaceAsync
public CompletableFuture<Boolean> replaceAsync(K key, V oldValue, V newValue, long lifespan, TimeUnit lifespanUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit) - Specified by:
replaceAsyncin interfaceorg.infinispan.commons.api.AsyncCache<K,V> - Overrides:
replaceAsyncin classAbstractBasicCacheDecorator<K,V>
-
replaceAsync
-
evict
-
removeLifespanExpired
-
removeMaxIdleExpired
-
touch
-
touch
-
getCacheEntry
-
getAllCacheEntries
-
getCacheEntryAsync
-
putAsyncEntry
-
putIfAbsentAsyncEntry
-
replaceAsyncEntry
-
removeAsyncEntry
-
startBatch
public boolean startBatch()- Specified by:
startBatchin interfaceorg.infinispan.commons.api.BatchingCache
-
endBatch
public void endBatch(boolean successful) - Specified by:
endBatchin interfaceorg.infinispan.commons.api.BatchingCache
-
getGroup
-
removeGroup
-
addListenerAsync
-
addFilteredListenerAsync
public <C> CompletionStage<Void> addFilteredListenerAsync(Object listener, org.infinispan.notifications.cachelistener.filter.CacheEventFilter<? super K, ? super V> filter, org.infinispan.notifications.cachelistener.filter.CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) -
addStorageFormatFilteredListenerAsync
public <C> CompletionStage<Void> addStorageFormatFilteredListenerAsync(Object listener, org.infinispan.notifications.cachelistener.filter.CacheEventFilter<? super K, ? super V> filter, org.infinispan.notifications.cachelistener.filter.CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) -
addListenerAsync
- Specified by:
addListenerAsyncin interfaceorg.infinispan.notifications.Listenable
-
removeListenerAsync
- Specified by:
removeListenerAsyncin interfaceorg.infinispan.notifications.Listenable
-
query
-
continuousQuery
- Specified by:
continuousQueryin interfaceorg.infinispan.commons.api.BasicCache<K,V> - Overrides:
continuousQueryin classAbstractBasicCacheDecorator<K,V>
-
equals
-