public class DefaultCache<K,V>
extends org.infinispan.cache.impl.AbstractDelegatingAdvancedCache<K,V>
AdvancedCache decorator associated with a DefaultCacheContainer.
Overrides startBatch() and endBatch(boolean) methods to use WildFly's Batcher mechanism, instead of Infinispan's BatchContainer.| Constructor and Description |
|---|
DefaultCache(org.infinispan.manager.EmbeddedCacheManager manager,
BatcherFactory batcherFactory,
org.infinispan.AdvancedCache<K,V> cache) |
| Modifier and Type | Method and Description |
|---|---|
void |
endBatch(boolean successful) |
boolean |
equals(Object object) |
org.infinispan.manager.EmbeddedCacheManager |
getCacheManager() |
int |
hashCode() |
boolean |
startBatch() |
addInterceptor, addInterceptorAfter, addInterceptorBefore, applyDelta, cacheEntrySet, compute, computeIfAbsent, computeIfPresent, getAdvancedCache, getAll, getAllAsync, getAllCacheEntries, getAndPutAll, getAsyncInterceptorChain, getAuthorizationManager, getAvailability, getBatchContainer, getCacheAvailability, getCacheEntry, getCacheEntryAsync, getClassLoader, getComponentRegistry, getDataContainer, getDistributionManager, getEvictionManager, getExpirationManager, getGroup, getInterceptorChain, getInvocationContextContainer, getKeyDataConversion, getKeyEncoder, getKeyWrapper, getLockManager, getRpcManager, getStats, getTransactionManager, getValueDataConversion, getValueEncoder, getValueWrapper, getXAResource, isRebalancingEnabled, lock, lock, lockAs, lockedStream, merge, noFlags, put, putAll, putAllAsync, putAsync, putForExternalRead, putForExternalRead, putForExternalRead, putIfAbsent, putIfAbsentAsync, removeExpired, removeGroup, removeInterceptor, removeInterceptor, replace, replace, replaceAsync, replaceAsync, setAvailability, setCacheAvailability, setRebalancingEnabled, transform, with, withEncoding, withEncoding, withFlags, withFlags, withKeyEncoding, withMediaType, withSubject, withWrapping, withWrappingaddFilteredListener, addListener, addListener, addListener, clear, clearAsync, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, evict, forEach, get, getAsync, getCacheConfiguration, getCacheName, getCacheStatus, getConfigurationAsProperties, getDelegate, getListeners, getName, getOrDefault, getStatus, getVersion, isEmpty, keySet, merge, merge, merge, put, put, put, putAll, putAll, putAll, putAllAsync, putAllAsync, putAllAsync, putAsync, putAsync, putAsync, putForExternalRead, putForExternalRead, putForExternalRead, putIfAbsent, putIfAbsent, putIfAbsent, putIfAbsentAsync, putIfAbsentAsync, putIfAbsentAsync, remove, remove, removeAsync, removeAsync, removeListener, replace, replace, replace, replace, replace, replace, replaceAll, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, set, shutdown, size, start, stop, toString, unwrapCache, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, mergeclear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfPresent, computeIfPresent, entrySet, evict, getCacheConfiguration, getStatus, keySet, merge, merge, putForExternalRead, putForExternalRead, putForExternalRead, shutdown, size, stop, valuesgetName, getVersion, merge, merge, put, put, put, putAll, putAll, putIfAbsent, putIfAbsent, remove, replace, replace, replace, replaceclearAsync, containsKeyAsync, getAsync, putAllAsync, putAllAsync, putAllAsync, putAsync, putAsync, putAsync, putIfAbsentAsync, putIfAbsentAsync, putIfAbsentAsync, removeAsync, removeAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsyncforEach, getOrDefault, putIfAbsent, remove, replace, replace, replaceAllcontainsKey, containsValue, get, isEmpty, putAllpublic DefaultCache(org.infinispan.manager.EmbeddedCacheManager manager,
BatcherFactory batcherFactory,
org.infinispan.AdvancedCache<K,V> cache)
public org.infinispan.manager.EmbeddedCacheManager getCacheManager()
public boolean startBatch()
public void endBatch(boolean successful)
public boolean equals(Object object)
Copyright © 2018 JBoss by Red Hat. All rights reserved.