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, with
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, values
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
clear, entrySet, evict, getCacheConfiguration, getStatus, keySet, putForExternalRead, putForExternalRead, putForExternalRead, size, values
getName, getVersion, put, put, put, putAll, putAll, putIfAbsent, putIfAbsent, remove, replace, replace, replace, replace
clearAsync, getAsync, putAllAsync, putAllAsync, putAllAsync, putAsync, putAsync, putAsync, putIfAbsentAsync, putIfAbsentAsync, putIfAbsentAsync, removeAsync, removeAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync, replaceAsync
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
containsKey, containsValue, get, isEmpty, putAll
public 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 © 2017 JBoss by Red Hat. All rights reserved.