public class QueryResultsRegionImpl extends BaseTransactionalDataRegion implements QueryResultsRegion
cache| Constructor and Description |
|---|
QueryResultsRegionImpl(org.infinispan.AdvancedCache cache,
String name,
RegionFactory factory)
Query region constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
evict(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).
|
Object |
get(Object key)
Get an item from the cache.
|
void |
put(Object key,
Object value)
Put an item into the cache.
|
getCacheDataDescriptioncheckValid, contains, destroy, getCache, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, getTransactionManager, invalidateRegion, isRegionInvalidatedInCurrentTx, isTransactionAware, isValid, nextTimestamp, resume, suspend, toMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMapisTransactionAwarepublic QueryResultsRegionImpl(org.infinispan.AdvancedCache cache,
String name,
RegionFactory factory)
cache - instance to store queriesname - of the query regionfactory - for the query regionpublic void evict(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 Object get(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(Object key, 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-2015 Red Hat, Inc. All Rights Reserved.