T - The type of cached informationpublic interface Cache<T>
| Modifier and Type | Method and Description |
|---|---|
T |
get(String tenantId,
String id)
This method retrieves the information based on the supplied
id.
|
void |
store(String tenantId,
List<T> information)
This methods stores the information in the cache.
|
T get(String tenantId, String id)
tenantId - The tenant idid - The idvoid store(String tenantId, List<T> information) throws CacheException
tenantId - The tenant idinformation - The list of informationFailed - to store information in the cacheCacheExceptionCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.