Class MulticastBasedMembershipScheme
- java.lang.Object
-
- org.apache.axis2.clustering.tribes.MulticastBasedMembershipScheme
-
- All Implemented Interfaces:
MembershipScheme
public class MulticastBasedMembershipScheme extends Object implements MembershipScheme
Implementation of the multicast based membership scheme. In this scheme, membership is discovered using multicasts
-
-
Constructor Summary
Constructors Constructor Description MulticastBasedMembershipScheme(org.apache.catalina.tribes.ManagedChannel channel, OperationMode mode, Map<String,Parameter> parameters, byte[] domain, boolean atmostOnceMessageSemantics, boolean preserverMsgOrder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Parameter
getParameter(String name)
void
init()
Initialize this membership schemevoid
joinGroup()
JOIN the group
-
-
-
Constructor Detail
-
MulticastBasedMembershipScheme
public MulticastBasedMembershipScheme(org.apache.catalina.tribes.ManagedChannel channel, OperationMode mode, Map<String,Parameter> parameters, byte[] domain, boolean atmostOnceMessageSemantics, boolean preserverMsgOrder)
-
-
Method Detail
-
init
public void init() throws ClusteringFault
Description copied from interface:MembershipScheme
Initialize this membership scheme- Specified by:
init
in interfaceMembershipScheme
- Throws:
ClusteringFault
- If an error occurs while initializing
-
joinGroup
public void joinGroup() throws ClusteringFault
Description copied from interface:MembershipScheme
JOIN the group- Specified by:
joinGroup
in interfaceMembershipScheme
- Throws:
ClusteringFault
- If an error occurs while joining the group
-
-