public abstract class CacheContainerWrapper extends Object
Constructor and Description |
---|
CacheContainerWrapper() |
Modifier and Type | Method and Description |
---|---|
Object |
get(String cacheName,
Object key)
Call to obtain an object from the cache based on the specified key
|
Collection<Object> |
getAll(String cacheName)
Call to obtain all the objects from the cache
|
abstract <T extends Map> |
getCache(String cacheName)
Call to obtain the cache object
|
public Object get(String cacheName, Object key)
cacheName
- key
- to use to get the object from the cachepublic Collection<Object> getAll(String cacheName)
cacheName
- Copyright © 2014 JBoss by Red Hat. All Rights Reserved.