public class CacheStorageFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> CacheStorage<T> |
getPersistentCacheStorage()
Returns an instance of CacheStorage that will not garbage collect automatically.
|
static <T> CacheStorage<T> |
getTemporalCacheStorage()
Returns an instance of CacheStorage that will garbage collect automatically.
|
public static <T> CacheStorage<T> getTemporalCacheStorage()
T - The value type used for caching.public static <T> CacheStorage<T> getPersistentCacheStorage()
T - The value type used for caching.Copyright © 2010–2019. All rights reserved.