public class ClusteredTimestampsRegionImpl extends TimestampsRegionImpl
cache, factory, invalidations, lastRegionInvalidation, localAndSkipLoadCache, name, tm| Constructor and Description |
|---|
ClusteredTimestampsRegionImpl(org.infinispan.AdvancedCache cache,
java.lang.String name,
InfinispanRegionFactory factory)
Clustered timestamps region constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
The "end state" contract of the region's lifecycle.
|
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 org.infinispan.AdvancedCache |
getTimestampsPutCache(org.infinispan.AdvancedCache cache) |
void |
invalidateRegion()
Invalidates the region.
|
void |
nodeModified(org.infinispan.notifications.cachelistener.event.CacheEntryModifiedEvent event)
Monitors cache events and updates the local cache
|
void |
nodeRemoved(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent event)
Monitors cache events and updates the local cache
|
evict, putbeginInvalidation, checkAccessType, checkValid, contains, endInvalidation, getCache, getCurrentTransaction, getElementCountInMemory, getElementCountOnDisk, getName, getRegionFactory, getSizeInMemory, getTimeout, getTransactionManager, isTransactionAware, nextTimestamp, resume, runInvalidation, suspend, toMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMappublic ClusteredTimestampsRegionImpl(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)
getTimestampsPutCache in class TimestampsRegionImplpublic java.lang.Object get(SessionImplementor session, java.lang.Object key) throws CacheException
GeneralDataRegionget in interface GeneralDataRegionget in class TimestampsRegionImplkey - The key of the item to be retrieved.CacheException - Indicates a problem accessing the item or region.public void evictAll()
throws CacheException
GeneralDataRegionevictAll in interface GeneralDataRegionevictAll in class TimestampsRegionImplCacheException - Indicates problem accessing the region.public void invalidateRegion()
BaseRegioninvalidateRegion in class BaseRegionpublic void destroy()
throws CacheException
RegionSessionFactory.close() to give
the region a chance to cleanup.destroy in interface Regiondestroy in class BaseRegionCacheException - Indicates problem shutting downpublic void nodeModified(org.infinispan.notifications.cachelistener.event.CacheEntryModifiedEvent event)
event - The eventpublic void nodeRemoved(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent event)
event - The eventCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.