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)
CacheFactory
createFqn
in interface CacheFactory
owner
- the factory owner instancepublic <K,V> Cache<K,V> createCache(Class<K> keyClass, Class<V> valueClass, String rootFqn)
CacheFactory
createCache
in interface CacheFactory
K
- the key classV
- the value classkeyClass
- the key classvalueClass
- the value classrootFqn
- the root fqnpublic <V> CacheItem<V> createCacheItem(Class<V> valueClass, String rootFqn)
CacheFactory
createCacheItem
in interface CacheFactory
V
- the value classvalueClass
- the value classrootFqn
- the root fqnCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.