public class TimestampsRegionImpl extends BaseGeneralDataRegion implements TimestampsRegion
cache, factory, invalidations, lastRegionInvalidation, localAndSkipLoadCache, name, tm| Constructor and Description |
|---|
TimestampsRegionImpl(org.infinispan.AdvancedCache cache,
java.lang.String name,
InfinispanRegionFactory factory)
Local timestamps 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(SharedSessionContractImplementor session,
java.lang.Object key)
Get an item from the cache.
|
protected org.infinispan.AdvancedCache |
getTimestampsPutCache(org.infinispan.AdvancedCache cache) |
void |
put(SharedSessionContractImplementor session,
java.lang.Object key,
java.lang.Object value)
Put an item into the cache.
|
beginInvalidation, checkAccessType, checkValid, contains, destroy, endInvalidation, getCache, getCurrentTransaction, getElementCountInMemory, getElementCountOnDisk, getName, getRegionFactory, getSizeInMemory, getTimeout, getTransactionManager, invalidateRegion, isTransactionAware, nextTimestamp, resume, runInvalidation, suspend, toMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMappublic TimestampsRegionImpl(org.infinispan.AdvancedCache cache,
java.lang.String name,
InfinispanRegionFactory factory)
cache - instance to store update timestampsname - of the update timestamps regionfactory - for the update timestamps regionprotected org.infinispan.AdvancedCache getTimestampsPutCache(org.infinispan.AdvancedCache cache)
public void evict(java.lang.Object key)
throws CacheException
GeneralDataRegionevict in interface GeneralDataRegionevict in class BaseGeneralDataRegionkey - The key of the item to removeCacheException - Indicates a problem accessing the item or region.public void evictAll()
throws CacheException
GeneralDataRegionevictAll in interface GeneralDataRegionevictAll in class BaseGeneralDataRegionCacheException - Indicates problem accessing the region.public java.lang.Object get(SharedSessionContractImplementor session, java.lang.Object key) throws CacheException
GeneralDataRegionget in interface GeneralDataRegionget in class BaseGeneralDataRegionkey - The key of the item to be retrieved.CacheException - Indicates a problem accessing the item or region.public void put(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value) throws CacheException
GeneralDataRegionput in interface GeneralDataRegionput in class BaseGeneralDataRegionkey - 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.