public interface Region
| Modifier and Type | Method and Description | 
|---|---|
| boolean | contains(Object key)Determine whether this region contains data for the given key. | 
| void | destroy()The "end state" contract of the region's lifecycle. | 
| long | getElementCountInMemory()The count of entries currently contained in the regions in-memory store. | 
| long | getElementCountOnDisk()The count of entries currently contained in the regions disk store. | 
| String | getName()Retrieve the name of this region. | 
| long | getSizeInMemory()The number of bytes is this cache region currently consuming in memory. | 
| int | getTimeout()Get a timeout value. | 
| long | nextTimestamp()Get the next timestamp according to the underlying cache implementor. | 
| Map | toMap()Get the contents of this region as a map. | 
String getName()
void destroy()
      throws CacheException
SessionFactory.close() to give
 the region a chance to cleanup.CacheException - Indicates problem shutting downboolean contains(Object key)
key - The cache keylong getSizeInMemory()
long getElementCountInMemory()
long getElementCountOnDisk()
Map toMap()
long nextTimestamp()
int getTimeout()
Copyright © 2017 JBoss by Red Hat. All rights reserved.