| Package | Description |
|---|---|
| com.openpojo.cache | |
| com.openpojo.cache.impl |
| Modifier and Type | Method and Description |
|---|---|
static <T> CacheStorage<T> |
CacheStorageFactory.getPersistentCacheStorage()
Returns an instance of CacheStorage that will not garbage collect automatically.
|
static <T> CacheStorage<T> |
CacheStorageFactory.getTemporalCacheStorage()
Returns an instance of CacheStorage that will garbage collect automatically.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StrongRefHashMapCacheStorage<T> |
class |
WeakHashMapCacheStorage<T>
This simple implementation of CacheStorage uses WeakHashMap as the underlying storage mechanism and only well suited
for temporal short bursts of cache are needed and GC removal of cached items is acceptable.
|
Copyright © 2010–2021. All rights reserved.