A region's name is "unqualified"; i.e. it is not prefixed by
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 |
|---|---|
| public void | |
| public void | |
| public String | |
| public RegionFactory |
| clear | back to summary |
|---|---|
| public void clear() Clear all data cached in the region | |
| destroy | back to summary |
|---|---|
| public void destroy() throws CacheException The "end state" contract of the region's lifecycle. Called
during
| |
| getName | back to summary |
|---|---|
| public String getName() Retrieve the unqualified name of this region. | |
| getRegionFactory | back to summary |
|---|---|
| public RegionFactory getRegionFactory() The RegionFactory that generated this Region | |