public interface CacheFactory<K extends Serializable,T extends Identifiable<K>>
Modifier and Type | Method and Description |
---|---|
Cache<K,T> |
createCache(String beanName,
IdentifierFactory<K> identifierFactory,
StatefulObjectFactory<T> factory,
PassivationManager<K,T> passivationManager,
StatefulTimeoutInfo timeout)
Creates a cache for a container.
|
Cache<K,T> createCache(String beanName, IdentifierFactory<K> identifierFactory, StatefulObjectFactory<T> factory, PassivationManager<K,T> passivationManager, StatefulTimeoutInfo timeout)
factory
- factory for creating objects managed by the cachepassivationManager
- manager for invoking pre and post passivation and replication callbacks on the cached objectstimeout
- the stateful timeoutCopyright © 2013 JBoss by Red Hat. All rights reserved.