public interface Region
SessionFactoryOptions.getCacheRegionPrefix()
.
Region is the base contract defining some common characteristics
regardless of the type of data intended to be stored within this
Region. The more specific sub-types are DomainDataRegion
(storing entity, collection and natural-id data) and
DirectAccessRegion
(storing query result and timestamp
data).Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear all data cached in the region
|
void |
destroy()
The "end state" contract of the region's lifecycle.
|
String |
getName()
Retrieve the unqualified name of this region.
|
RegionFactory |
getRegionFactory()
The RegionFactory that generated this Region
|
String getName()
RegionFactory getRegionFactory()
void clear()
void destroy() throws CacheException
SessionFactory.close()
to give
the region a chance to cleanup.CacheException
- Indicates problem shutting downCopyright © 2019 JBoss by Red Hat. All rights reserved.