public class DefaultCacheFactory extends Object implements CacheFactory
| Constructor and Description |
|---|
DefaultCacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
<K,V> Cache<K,V> |
createCache(Class<K> keyClass,
Class<V> valueClass,
String rootFqn)
Create cache.
|
<V> CacheItem<V> |
createCacheItem(Class<V> valueClass,
String rootFqn)
Create cache.
|
String |
createFqn(Object owner)
Create the owner's fqn.
|
public String createFqn(Object owner)
CacheFactorycreateFqn in interface CacheFactoryowner - the factory owner instancepublic <K,V> Cache<K,V> createCache(Class<K> keyClass, Class<V> valueClass, String rootFqn)
CacheFactorycreateCache in interface CacheFactoryK - the key classV - the value classkeyClass - the key classvalueClass - the value classrootFqn - the root fqnpublic <V> CacheItem<V> createCacheItem(Class<V> valueClass, String rootFqn)
CacheFactorycreateCacheItem in interface CacheFactoryV - the value classvalueClass - the value classrootFqn - the root fqnCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.