| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Region
Defines a contract for accessing a particular named region within the underlying cache implementation.
| Method Summary | |
|---|---|
|  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() | 
|  long | nextTimestamp() | 
|  Map | toMap()Get the contents of this region as a map. | 
| Method Detail | 
|---|
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 key
long getSizeInMemory()
long getElementCountInMemory()
long getElementCountOnDisk()
Map toMap()
long nextTimestamp()
int getTimeout()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||