|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GroupManagementAgent
This is the interface through which the load balancing event are notified. This will only be used when this member is running in loadBalance mode. In order to do this, in the axis2.xml file, set the value of the "mode" parameter to "loadBalance" and then provide the class that implements this interface using the "loadBalanceEventHandler" entry.
| Method Summary | |
|---|---|
void |
addMember(Member member)
Add a well-known member |
void |
applicationMemberAdded(Member member)
An application member joined the application group |
void |
applicationMemberRemoved(Member member)
An application member left the application group |
java.lang.String |
getDescription()
Get the description about this group management agent |
java.util.List<Member> |
getMembers()
Get the list of current members |
void |
send(GroupManagementCommand command)
Send a GroupManagementCommand to the group |
void |
setDescription(java.lang.String description)
Set the description about this group management agent |
void |
setDomain(java.lang.String domain)
Set the cluster domain |
void |
setGroupMgtPort(int groupMgtPort)
The port used for the group management member |
void |
setSubDomain(java.lang.String subDomain)
Set the cluster sub-domain |
| Method Detail |
|---|
void setDomain(java.lang.String domain)
domain - the cluster domainvoid setSubDomain(java.lang.String subDomain)
subDomain - the cluster sub-domainvoid setGroupMgtPort(int groupMgtPort)
groupMgtPort - The clustering port for the group, if applicablevoid setDescription(java.lang.String description)
description - The descriptionjava.lang.String getDescription()
void applicationMemberAdded(Member member)
member - Represents the member who joinedvoid applicationMemberRemoved(Member member)
member - Represents the member who leftjava.util.List<Member> getMembers()
void addMember(Member member)
member - The well-known member
void send(GroupManagementCommand command)
throws ClusteringFault
command - The command
ClusteringFault - If an error occurs while sending the command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||