public interface BackingCacheEntryStoreSource<K extends Serializable,V extends Cacheable<K>,G extends Serializable> extends BackingCacheEntryStoreConfig
BackingCacheEntryStore
instances to a CacheFactory
that needs to create a
GroupAwareBackingCache
.DEFAULT_IDLE_TIMEOUT, DEFAULT_IDLE_TIMEOUT_UNIT, DEFAULT_MAX_SIZE
Modifier and Type | Method and Description |
---|---|
void |
addDependencies(org.jboss.msc.service.ServiceTarget target,
org.jboss.msc.service.ServiceBuilder<?> builder) |
<E extends SerializationGroup<K,V,G>> |
createGroupIntegratedObjectStore(PassivationManager<G,E> passivationManager,
StatefulTimeoutInfo timeout)
Provide a
BackingCacheEntryStore for storage of serialization groups. |
<E extends SerializationGroupMember<K,V,G>> |
createIntegratedObjectStore(String beanName,
PassivationManager<K,E> passivationManager,
StatefulTimeoutInfo timeout)
Provide a
BackingCacheEntryStore for storage of serialization group members. |
getIdleTimeout, getIdleTimeoutUnit, getMaxSize, isPassivateEventsOnReplicate, setIdleTimeout, setIdleTimeoutUnit, setMaxSize
<E extends SerializationGroup<K,V,G>> BackingCacheEntryStore<G,Cacheable<G>,E> createGroupIntegratedObjectStore(PassivationManager<G,E> passivationManager, StatefulTimeoutInfo timeout)
BackingCacheEntryStore
for storage of serialization groups.containerName
- name of the container using this store's cachecacheConfigName
- potentially aliased name of the cache configuration. Implementations should use this value in
place of CacheConfig#name()
config
- configuration details of the cachetransactionManager
- TransactionManager the store should use if it needs to monitor transactionssynchronizationCoordinator
- SynchronizationCoordinator the store should use if it needs to add tranaction
synchronizations<E extends SerializationGroupMember<K,V,G>> BackingCacheEntryStore<K,V,E> createIntegratedObjectStore(String beanName, PassivationManager<K,E> passivationManager, StatefulTimeoutInfo timeout)
BackingCacheEntryStore
for storage of serialization group members.containerName
- name of the container using this store's cachecacheConfigName
- TODOtransactionManager
- TransactionManager the store should use if it needs to monitor transactionssynchronizationCoordinator
- SynchronizationCoordinator the store should use if it needs to add tranaction
synchronizationsconfig
- configuration details of the cachevoid addDependencies(org.jboss.msc.service.ServiceTarget target, org.jboss.msc.service.ServiceBuilder<?> builder)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.