|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.plugins.cache.CachePolicyCacheFactory
public class CachePolicyCacheFactory
Cache policy cache factory.
Constructor Summary | |
---|---|
CachePolicyCacheFactory(CachePolicyFactory factory)
|
Method Summary | ||
---|---|---|
|
createCache(Class<K> keyClass,
Class<V> valueClass,
String rootFqn)
Create cache. |
|
|
createCacheItem(Class<V> valueClass,
String rootFqn)
Create cache. |
|
protected org.jboss.util.CachePolicy |
createCachePolicy()
Create cache policy. |
|
String |
createFqn(Object owner)
Create the owner's fqn. |
|
void |
destroy()
Destroy created policies. |
|
void |
stop()
Stop created policies. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachePolicyCacheFactory(CachePolicyFactory factory)
Method Detail |
---|
public String createFqn(Object owner)
CacheFactory
createFqn
in interface CacheFactory
owner
- the factory owner instance
protected org.jboss.util.CachePolicy createCachePolicy()
public <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 fqn
public <V> CacheItem<V> createCacheItem(Class<V> valueClass, String rootFqn)
CacheFactory
createCacheItem
in interface CacheFactory
V
- the value classvalueClass
- the value classrootFqn
- the root fqn
public void stop()
public void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |