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 Type
    Method
    Description
    forCache(org.infinispan.Cache<?,?> cache)
    Creates a cache container group for the associated cache.
    org.infinispan.manager.EmbeddedCacheManager
    Returns the cache container associated with this group.
     

    Methods inherited from interface org.wildfly.clustering.server.Group

    getLocalMember, getMembership, getName, isSingleton

    Methods 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:
      getGroupMemberFactory in interface org.wildfly.clustering.server.group.Group<org.infinispan.remoting.transport.Address, CacheContainerGroupMember>
    • 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.