public class NonPassivatingCacheFactory<K extends Serializable,V extends Cacheable<K>> extends Object implements CacheFactory<K,V>
CacheFactory implementation that will return a non-group-aware cache that doesn't support passivation.TransactionalCache,
NonPassivatingBackingCacheImpl| Constructor and Description |
|---|
NonPassivatingCacheFactory(ServerEnvironment environment) |
| Modifier and Type | Method and Description |
|---|---|
Cache<K,V> |
createCache(String beanName,
StatefulObjectFactory<V> factory,
PassivationManager<K,V> passivationManager,
StatefulTimeoutInfo timeout)
Creates a cache for a container.
|
public NonPassivatingCacheFactory(ServerEnvironment environment)
public Cache<K,V> createCache(String beanName, StatefulObjectFactory<V> factory, PassivationManager<K,V> passivationManager, StatefulTimeoutInfo timeout)
CacheFactorycreateCache in interface CacheFactory<K extends Serializable,V extends Cacheable<K>>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, a division of Red Hat, Inc.. All Rights Reserved.