|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This provides operations for storing and retrieving information
pertaining to groups. Specifically the operations provided include
(a)Storing and Retrieving GroupInfo objects
(b) Retrieving the list of all sent, received, created, expired,
terminated and active sent and received Groups.
| Method Summary | |
void |
addDestinationGroupIdPair(String destination,
String groupId)
Stores the GroupId that should be used while communicating with a given destination. |
void |
deleteGroupInfo(String GroupId)
Removes the GroupInfo corresponding to the specified groupId. |
String |
getDestinationForGroupId(String groupId)
Retrieves the destination for a specific groupId |
String[] |
getGroupIdsForDestination(String destination)
Retrieve the GroupIds for a specific destination |
WsrGroupInfoImpl |
getGroupInfoUsingGroupId(String GroupId)
Retrieves the GroupInfo corresponding to the specified groupId. |
String[] |
getListOfAllGroups(boolean isSource)
Retrieves the entire list of groupIds registered with the underlying service. |
long |
getSequenceNumberLastDelivered(String groupId)
Retrieves the sequence number that was last Delivered on a given group. |
boolean |
hasGroupIdForDestination(String destination)
Checks to see if there is a groupId/destination pair corresponding to the destination in question. |
boolean |
isGroupExists(String groupId)
A method which checks whether a certain group (irrespective of whether it is active/terminated/expired/timed-out) is a exits(from Sink point of view) at this node |
boolean |
isKnownGroup(String groupId)
A method which checks whether a certain group (irrespective of whether it is active/terminated/expired/timed-out) is a known group at this node |
void |
removeDestinationGroupIdPair(String groupId)
Removes the destination/group identifier pair corresponding to this groupId |
void |
storeCreatedGroup(WsrGroupInfoImpl groupInfo)
Store a GroupInfo object. |
| Method Detail |
public void addDestinationGroupIdPair(String destination,
String groupId)
throws WsrStorageException
WsrStorageException
public String[] getGroupIdsForDestination(String destination)
throws WsrStorageException
WsrStorageException
public String getDestinationForGroupId(String groupId)
throws WsrStorageException
WsrStorageException
public void removeDestinationGroupIdPair(String groupId)
throws WsrStorageException
WsrStorageException
public boolean hasGroupIdForDestination(String destination)
throws WsrStorageException
WsrStorageException
public long getSequenceNumberLastDelivered(String groupId)
throws WsrStorageException
WsrStorageException
public boolean isKnownGroup(String groupId)
throws WsrStorageException
WsrStorageException
public boolean isGroupExists(String groupId)
throws WsrStorageException
WsrStorageException
public void storeCreatedGroup(WsrGroupInfoImpl groupInfo)
throws WsrStorageException
WsrStorageException
public WsrGroupInfoImpl getGroupInfoUsingGroupId(String GroupId)
throws WsrStorageException
WsrStorageException
public void deleteGroupInfo(String GroupId)
throws WsrStorageException
WsrStorageException
public String[] getListOfAllGroups(boolean isSource)
throws WsrStorageException
WsrStorageException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||