Cache implements; each separate cache may try to load
a key at the same time.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final ReadThroughCacheConfiguration |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Element | get(Object
an Object value key)Overrides net. Implements net. |
| public Element | get(Serializable
a serializable value key)Overrides net. Implements net. |
| public String | getName()
Overrides net. Implements net. |
| isModeGet | back to summary |
|---|---|
| private final boolean isModeGet | |
| readThroughCacheConfig | back to summary |
|---|---|
| private final ReadThroughCacheConfiguration readThroughCacheConfig | |
| ReadThroughCache | back to summary |
|---|---|
| public ReadThroughCache(Ehcache underlyingCache, ReadThroughCacheConfiguration config) | |
| get | back to summary |
|---|---|
| public Element get(Object key) throws IllegalStateException, CacheException Overrides net. Implements net. Doc from net. Gets an element from the cache. Updates Element Statistics
Note that the Element's lastAccessTime is always the time of this get.
Use
| |
| get | back to summary |
|---|---|
| public Element get(Serializable key) throws IllegalStateException, CacheException Overrides net. Implements net. Doc from net. Gets an element from the cache. Updates Element Statistics
Note that the Element's lastAccessTime is always the time of this get.
Use
| |
| getName | back to summary |
|---|---|
| public String getName() Overrides net. Implements net. Doc from net. Gets the cache name.
| |