public class QueryResultsRegionImpl extends BaseTransactionalDataRegion implements QueryResultsRegion
BaseTransactionalDataRegion.Strategycache, factory, invalidations, lastRegionInvalidation, localAndSkipLoadCache, name, tm| Constructor and Description |
|---|
QueryResultsRegionImpl(org.infinispan.AdvancedCache cache,
java.lang.String name,
javax.transaction.TransactionManager transactionManager,
InfinispanRegionFactory factory)
Query region constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
evict(java.lang.Object key)
Evict an item from the cache immediately (without regard for transaction
isolation).
|
void |
evictAll()
Evict all contents of this particular cache region (without regard for transaction
isolation).
|
java.lang.Object |
get(SessionImplementor session,
java.lang.Object key)
Get an item from the cache.
|
protected boolean |
isRegionAccessStrategyEnabled() |
void |
put(SessionImplementor session,
java.lang.Object key,
java.lang.Object value)
Put an item into the cache.
|
contains, createAccessDelegate, getCacheDataDescription, getCacheKeysFactory, getLastRegionInvalidation, getTombstoneExpiration, prepareForValidation, prepareForVersionedEntries, runInvalidation, toMapbeginInvalidation, checkAccessType, checkValid, destroy, endInvalidation, getCache, getCurrentTransaction, getElementCountInMemory, getElementCountOnDisk, getName, getRegionFactory, getSizeInMemory, getTimeout, getTransactionManager, invalidateRegion, isTransactionAware, nextTimestamp, resume, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMapisTransactionAwarepublic QueryResultsRegionImpl(org.infinispan.AdvancedCache cache,
java.lang.String name,
javax.transaction.TransactionManager transactionManager,
InfinispanRegionFactory factory)
cache - instance to store queriesname - of the query regionfactory - for the query regionprotected boolean isRegionAccessStrategyEnabled()
isRegionAccessStrategyEnabled in class BaseTransactionalDataRegionpublic void evict(java.lang.Object key)
throws CacheException
GeneralDataRegionevict in interface GeneralDataRegionkey - The key of the item to removeCacheException - Indicates a problem accessing the item or region.public void evictAll()
throws CacheException
GeneralDataRegionevictAll in interface GeneralDataRegionCacheException - Indicates problem accessing the region.public java.lang.Object get(SessionImplementor session, java.lang.Object key) throws CacheException
GeneralDataRegionget in interface GeneralDataRegionkey - The key of the item to be retrieved.CacheException - Indicates a problem accessing the item or region.public void put(SessionImplementor session, java.lang.Object key, java.lang.Object value) throws CacheException
GeneralDataRegionput in interface GeneralDataRegionkey - The key under which to cache the item.value - The item to cache.CacheException - Indicates a problem accessing the region.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.