|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcgl.narada.wsinfra.wsr.storage.impl.WsrGroupInfoStorageOperationsImpl
| Constructor Summary | |
WsrGroupInfoStorageOperationsImpl()
|
|
WsrGroupInfoStorageOperationsImpl(Connection connection)
|
|
| 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 wsrGroupInfo)
Store a GroupInfo object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WsrGroupInfoStorageOperationsImpl()
public WsrGroupInfoStorageOperationsImpl(Connection connection)
| Method Detail |
public void addDestinationGroupIdPair(String destination,
String groupId)
throws WsrStorageException
WsrGroupInfoStorageOperations
addDestinationGroupIdPair in interface WsrGroupInfoStorageOperationsWsrStorageException
public String[] getGroupIdsForDestination(String destination)
throws WsrStorageException
WsrGroupInfoStorageOperations
getGroupIdsForDestination in interface WsrGroupInfoStorageOperationsWsrStorageException
public String getDestinationForGroupId(String groupId)
throws WsrStorageException
WsrGroupInfoStorageOperations
getDestinationForGroupId in interface WsrGroupInfoStorageOperationsWsrStorageException
public void removeDestinationGroupIdPair(String groupId)
throws WsrStorageException
WsrGroupInfoStorageOperations
removeDestinationGroupIdPair in interface WsrGroupInfoStorageOperationsWsrStorageException
public boolean hasGroupIdForDestination(String destination)
throws WsrStorageException
hasGroupIdForDestination in interface WsrGroupInfoStorageOperationsWsrStorageException
public long getSequenceNumberLastDelivered(String groupId)
throws WsrStorageException
WsrGroupInfoStorageOperations
getSequenceNumberLastDelivered in interface WsrGroupInfoStorageOperationsWsrStorageException
public boolean isKnownGroup(String groupId)
throws WsrStorageException
isKnownGroup in interface WsrGroupInfoStorageOperationsWsrStorageException
public boolean isGroupExists(String groupId)
throws WsrStorageException
WsrGroupInfoStorageOperations
isGroupExists in interface WsrGroupInfoStorageOperationsWsrStorageException
public void storeCreatedGroup(WsrGroupInfoImpl wsrGroupInfo)
throws WsrStorageException
WsrGroupInfoStorageOperations
storeCreatedGroup in interface WsrGroupInfoStorageOperationsWsrStorageException
public WsrGroupInfoImpl getGroupInfoUsingGroupId(String groupId)
throws WsrStorageException
WsrGroupInfoStorageOperations
getGroupInfoUsingGroupId in interface WsrGroupInfoStorageOperationsWsrStorageException
public void deleteGroupInfo(String groupId)
throws WsrStorageException
WsrGroupInfoStorageOperations
deleteGroupInfo in interface WsrGroupInfoStorageOperationsWsrStorageException
public String[] getListOfAllGroups(boolean isSource)
throws WsrStorageException
WsrGroupInfoStorageOperations
getListOfAllGroups in interface WsrGroupInfoStorageOperationsWsrStorageException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||