GeneralDataRegion instances are used for both the timestamps and query caches.
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | EhcacheGeneralDataRegion(EhcacheAccessStrategyFactory accessStrategyFactory, Ehcache cache, Properties properties)
Creates an EhcacheGeneralDataRegion using the given Ehcache instance as a backing. |
| Modifier and Type | Method and Description |
|---|---|
| public void | evict(Object
The key of the item to remove key)Implements org. |
| public void | evictAll()
Implements org. |
| public Object | get(Object
The key of the item to be retrieved. key)Implements org. |
| public void | put(Object
The key under which to cache the item. key, Object The item to cache. value)Implements org. |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides net. | |
| EhcacheGeneralDataRegion | back to summary |
|---|---|
| public EhcacheGeneralDataRegion(EhcacheAccessStrategyFactory accessStrategyFactory, Ehcache cache, Properties properties) Creates an EhcacheGeneralDataRegion using the given Ehcache instance as a backing. | |
| evict | back to summary |
|---|---|
| public void evict(Object key) throws CacheException Implements org. Doc from org. Evict an item from the cache immediately (without regard for transaction isolation).
| |
| evictAll | back to summary |
|---|---|
| public void evictAll() throws CacheException Implements org. Doc from org. Evict all contents of this particular cache region (without regard for transaction isolation).
| |
| get | back to summary |
|---|---|
| public Object get(Object key) throws CacheException Implements org. Doc from org. Get an item from the cache.
| |
| put | back to summary |
|---|---|
| public void put(Object key, Object value) throws CacheException Implements org. Doc from org. Put an item into the cache.
| |