## Uses of Class
com.h3c.dist.groups.GroupsException

- Packages that use GroupsException
  Package | Description
  --- | ---
  com.h3c.dist.groups |

- - ### Uses of GroupsException in com.h3c.dist.groups

    Subclasses of GroupsException in com.h3c.dist.groups
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `GroupsException.DistributedServicesException`
    `static class` | `GroupsException.GroupChangedException`
    `static class` | `GroupsException.GroupConfigMismatchException`
    `static class` | `GroupsException.GroupExistsException`
    `static class` | `GroupsException.GroupNotFoundException`
    `static class` | `GroupsException.MemberExistsException`
    `static class` | `GroupsException.MemberNotFoundException`

    Methods in com.h3c.dist.groups that return GroupsException
    Modifier and Type | Method and Description
    --- | ---
    `static GroupsException` | GroupsException.`create(GroupsException.Code code)` All Groups services exceptions should be constructed via this factory method.
    `static GroupsException` | GroupsException.`create(GroupsException.Code code, String group, String instance)` All Groups services exceptions should be constructed via this factory method.

    Methods in com.h3c.dist.groups that throw GroupsException
    Modifier and Type | Method and Description
    --- | ---
    `void` | Groups.`createGroup(String groupName, GroupInfo gInfo)` Create a Group with specified name and configuration.
    `GroupInfo` | Groups.`getGroupInfo(String groupName)` Query for the information [attributes] of a group
    `List<String>` | Groups.`getGroupMembers(String groupName)` Query for the list of instanceIds of the group members.
    `GroupMemberInfo` | Groups.`getMemberInfo(String groupName, String instacneId)` Retrieve the information about a member of the group identified by the instanceId.
    `void` | Groups.`heartBeat(String groupName, String instanceId)` Application invokes this routine to periodically notify the groups service that it is alive.
    `String` | Groups.`joinGroup(String groupName, String instanceId, GroupListener listener)` Application instance to join a group.
    `void` | Groups.`leaveGroup(String groupName, String instacneId)` Application instance to leave a group.
    `void` | Groups.`runElection(String groupName)` Trigger leader election for a group.

Copyright © 2014. All Rights Reserved.