public class Cache<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
static <T> Cache<T> |
getCache(ObjectRetriever<T> retriever,
long objectsTTL,
String cacheName) |
void |
invalidate() |
void |
invalidateAll() |
public T get() throws ConfigurationNotFoundException
ConfigurationNotFoundExceptionpublic void invalidate()
public void invalidateAll()
public static <T> Cache<T> getCache(ObjectRetriever<T> retriever, long objectsTTL, String cacheName)
Copyright © 2017. All Rights Reserved.