public class ClusteredTimestampsRegionImpl extends TimestampsRegionImpl
cache
Constructor and Description |
---|
ClusteredTimestampsRegionImpl(org.infinispan.AdvancedCache cache,
String name,
RegionFactory factory) |
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).
|
Object |
get(Object key)
Get an item from the cache.
|
protected org.infinispan.AdvancedCache |
getTimestampsPutCache(org.infinispan.AdvancedCache cache) |
void |
invalidateRegion() |
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, put
checkValid, contains, getCache, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, getTransactionManager, isTransactionAware, isValid, nextTimestamp, resume, suspend, toMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contains, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
public ClusteredTimestampsRegionImpl(org.infinispan.AdvancedCache cache, String name, RegionFactory factory)
protected org.infinispan.AdvancedCache getTimestampsPutCache(org.infinispan.AdvancedCache cache)
getTimestampsPutCache
in class TimestampsRegionImpl
public Object get(Object key) throws CacheException
GeneralDataRegion
get
in interface GeneralDataRegion
get
in class TimestampsRegionImpl
key
- The key of the item to be retrieved.CacheException
- Indicates a problem accessing the item or region.public void evictAll() throws CacheException
GeneralDataRegion
evictAll
in interface GeneralDataRegion
evictAll
in class TimestampsRegionImpl
CacheException
- Indicates problem accessing the region.public void invalidateRegion()
invalidateRegion
in class BaseRegion
public void destroy() throws CacheException
Region
SessionFactory.close()
to give
the region a chance to cleanup.destroy
in interface Region
destroy
in class BaseRegion
CacheException
- Indicates problem shutting downpublic void nodeModified(org.infinispan.notifications.cachelistener.event.CacheEntryModifiedEvent event)
event
- public void nodeRemoved(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent event)
event
- Copyright © 2018 JBoss by Red Hat. All rights reserved.