| Modifier and Type | Field and Description |
|---|---|
| private final StorageAccess |
| Access | Constructor and Description |
|---|---|
| public | DirectAccessRegionTemplate(String
- the unqualified region name name, RegionFactory - the region factory regionFactory, StorageAccess - the cache storage access strategy storageAccess)Constructs a |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | destroy()
Implements org. |
| public Object | getFromCache(Object key, SharedSessionContractImplementor session)
Implements org. |
| public StorageAccess | |
| public void | putIntoCache(Object key, Object value, SharedSessionContractImplementor session)
Implements org. |
| storageAccess | back to summary |
|---|---|
| private final StorageAccess storageAccess | |
| DirectAccessRegionTemplate | back to summary |
|---|---|
| public DirectAccessRegionTemplate(String name, RegionFactory regionFactory, StorageAccess storageAccess) Constructs a
| |
| clear | back to summary |
|---|---|
| public void clear() Implements org. Doc from org. Clear all data cached in the region
| |
| destroy | back to summary |
|---|---|
| public void destroy() Implements org. Doc from org. The "end state" contract of the region's lifecycle. Called
during
| |
| getFromCache | back to summary |
|---|---|
| public Object getFromCache(Object key, SharedSessionContractImplementor session) Implements org. Doc from org. Get value by key
| |
| getStorageAccess | back to summary |
|---|---|
| public StorageAccess getStorageAccess() | |
| putIntoCache | back to summary |
|---|---|
| public void putIntoCache(Object key, Object value, SharedSessionContractImplementor session) Implements org. Doc from org. Put a value by key
| |