Interface CacheContainerGroup
- All Superinterfaces:
Group<CacheContainerGroupMember>, Group<org.infinispan.remoting.transport.Address, CacheContainerGroupMember>, Registrar<GroupMembershipListener<CacheContainerGroupMember>>
- All Known Implementing Classes:
EmbeddedCacheManagerGroup
public interface CacheContainerGroup
extends 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.Returns a factory for creating group members from an identifiers.Methods inherited from interface Group
getLocalMember, getMembership, getName, isSingleton
-
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()Description copied from interface:GroupReturns a factory for creating group members from an identifiers.- Specified by:
getGroupMemberFactoryin interfaceGroup<org.infinispan.remoting.transport.Address, CacheContainerGroupMember>- Returns:
- a group member factory
-
forCache
Creates a cache container group for the associated cache.- Parameters:
cache- an embedded cache- Returns:
- a cache container group for the associated cache.
-