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 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: Group
      Returns a factory for creating group members from an identifiers.
      Specified by:
      getGroupMemberFactory in interface Group<org.infinispan.remoting.transport.Address, CacheContainerGroupMember>
      Returns:
      a group member factory
    • forCache

      default CacheContainerGroup forCache(org.infinispan.Cache<?,?> cache)
      Creates a cache container group for the associated cache.
      Parameters:
      cache - an embedded cache
      Returns:
      a cache container group for the associated cache.