Interface CacheContainerGroup
- All Superinterfaces:
org.wildfly.clustering.server.Group<CacheContainerGroupMember>, org.wildfly.clustering.server.group.Group<org.infinispan.remoting.transport.Address, CacheContainerGroupMember>, org.wildfly.clustering.server.Registrar<org.wildfly.clustering.server.GroupMembershipListener<CacheContainerGroupMember>>
- All Known Implementing Classes:
EmbeddedCacheManagerGroup
public interface CacheContainerGroup
extends org.wildfly.clustering.server.group.Group<org.infinispan.remoting.transport.Address, CacheContainerGroupMember>
A group associated with a cache container
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault CacheContainerGroupforCache(org.infinispan.Cache<?, ?> cache) Creates a cache container group for the associated cache.org.infinispan.manager.EmbeddedCacheManagerReturns the cache container associated with this group.Methods inherited from interface org.wildfly.clustering.server.Group
getLocalMember, getMembership, getName, isSingletonMethods inherited from interface org.wildfly.clustering.server.Registrar
register
-
Method Details
-
getCacheContainer
org.infinispan.manager.EmbeddedCacheManager getCacheContainer()Returns the cache container associated with this group.- Returns:
- the cache container associated with this group.
-
getGroupMemberFactory
CacheContainerGroupMemberFactory getGroupMemberFactory()- Specified by:
getGroupMemberFactoryin interfaceorg.wildfly.clustering.server.group.Group<org.infinispan.remoting.transport.Address, CacheContainerGroupMember>
-
forCache
Creates a cache container group for the associated cache.- Parameters:
cache- an embedded cache- Returns:
- a cache container group for the associated cache.
-