Class EmbeddedCacheManagerGroup<A extends Comparable<A>,M extends GroupMember<A>>
java.lang.Object
org.wildfly.clustering.server.infinispan.EmbeddedCacheManagerGroup<A,M>
- Type Parameters:
A- the group member address typeM- the group member type
- All Implemented Interfaces:
Group<CacheContainerGroupMember>,Group<org.infinispan.remoting.transport.Address,,CacheContainerGroupMember> CacheContainerGroup,Registrar<GroupMembershipListener<CacheContainerGroupMember>>
public class EmbeddedCacheManagerGroup<A extends Comparable<A>,M extends GroupMember<A>>
extends Object
implements CacheContainerGroup
A group composed of embedded cache manager members.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionEmbeddedCacheManagerGroup(EmbeddedCacheManagerGroupConfiguration<A, M> configuration) -
Method Summary
Modifier and TypeMethodDescriptionReturns the local member.Gets the current membership of this groupgetName()Returns the logical name of this group.booleanIndicates whether or not this is a singleton group.Registers an object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.server.infinispan.CacheContainerGroup
forCache
-
Constructor Details
-
EmbeddedCacheManagerGroup
-
-
Method Details
-
getName
-
getLocalMember
Description copied from interface:GroupReturns the local member.- Specified by:
getLocalMemberin interfaceGroup<A extends Comparable<A>>- Returns:
- the local member
-
getMembership
Description copied from interface:GroupGets the current membership of this group- Specified by:
getMembershipin interfaceGroup<A extends Comparable<A>>- Returns:
- the group membership
-
isSingleton
public boolean isSingleton()Description copied from interface:GroupIndicates whether or not this is a singleton group. The membership of a singleton group contains only the local member and never changes.- Specified by:
isSingletonin interfaceGroup<A extends Comparable<A>>- Returns:
- true, if this is a singleton group, false otherwise.
-
register
Description copied from interface:RegistrarRegisters an object. The object is unregistered when the generatedRegistrationis closed.- Specified by:
registerin interfaceRegistrar<A extends Comparable<A>>- Parameters:
listener- an object to register- Returns:
- an object registration.
-
getGroupMemberFactory
- Specified by:
getGroupMemberFactoryin interfaceCacheContainerGroup- Specified by:
getGroupMemberFactoryin interfaceGroup<A extends Comparable<A>,M extends GroupMember<A>>
-