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() |
org.infinispan.AdvancedCache<K,V> |
withFlags(org.infinispan.context.Flag... flags) |
addInterceptor, addInterceptorAfter, addInterceptorBefore, applyDelta, cacheEntrySet, filterEntries, getAdvancedCache, getAll, getAllCacheEntries, getAuthorizationManager, getAvailability, getBatchContainer, getCacheEntry, getClassLoader, getComponentRegistry, getDataContainer, getDistributionManager, getEvictionManager, getExpirationManager, getGroup, getInterceptorChain, getInvocationContextContainer, getLockManager, getRpcManager, getStats, getTransactionManager, getXAResource, lock, lock, put, putAll, putAsync, putForExternalRead, putForExternalRead, putForExternalRead, putIfAbsent, removeExpired, removeGroup, removeInterceptor, removeInterceptor, replace, replace, setAvailability, withaddFilteredListener, addListener, addListener, addListener, clear, clearAsync, containsKey, containsValue, entrySet, evict, get, getAsync, getCacheConfiguration, getDelegate, getListeners, getName, getStatus, getVersion, isEmpty, keySet, 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, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, set, size, start, stop, toString, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitclear, entrySet, evict, getCacheConfiguration, getStatus, keySet, putForExternalRead, putForExternalRead, putForExternalRead, size, valuesgetName, getVersion, put, put, put, putAll, putAll, putIfAbsent, putIfAbsent, remove, replace, replace, replace, replaceclearAsync, getAsync, putAllAsync, putAllAsync, putAllAsync, putAsync, putAsync, putAsync, putIfAbsentAsync, putIfAbsentAsync, putIfAbsentAsync, removeAsync, removeAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsynccompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, 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 © 2021 JBoss by Red Hat. All rights reserved.