|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StorageService
Provides a host of storage related operations that are important for ensuring reliable delivery
| Method Summary | |
|---|---|
void |
advanceCatenation(int catenation,
int templateId,
int entityId)
Advance the catenation associated with an entity |
void |
advanceSyncpoint(long syncpoint,
int templateId,
int entityId)
Advance the sync point associated with an entity |
long[] |
checkIfSequencesBelongToTemplate(int templateId,
long[] sequences)
This method checks to see if the sequences in the arguments belong to the specified template. |
int |
getCatenation(int templateId,
int entityId)
Get the catenation associated with an entity |
TemplateInfo[] |
getListOfManagedTemplates()
Returns a array containing the list of managed templates |
int[] |
getListOfRegisteredEntities()
Returns a list of registered entities |
int[] |
getListOfRegisteredEntities(int templateId)
Returns a list of registered entities to a given template |
Profile[] |
getListOfRegisteredProfiles(int templateId)
Returns a list of profiles registered to a given template |
long |
getSequenceNumberLastAssigned()
Returns the sequence number last assigned by the reliable delivery service |
long |
getSequenceNumberLastAssigned(int templateId)
Returns the sequence number last assigned by the reliable delivery service for a given templateId |
InventoryEvent |
getStoredEvent(long sequenceNumber)
Upon receipt of a NAK request we need to retrieve the inventory event that corresponds to |
long |
getSyncpoint(int templateId,
int entityId)
Get the syncpoint associated with an entity |
long |
getTimestamp(long sequnceNumber,
int templateId)
|
void |
processAcknowledgement(long sequenceNumber,
int entityId)
Process the acknowledgement of an event's receipt by an entity |
void |
removeEntityFromTemplate(int entityId,
int templateId)
Deregister's an entity from a managed template |
void |
removeProfile(int templateId,
Profile profile)
|
void |
removeRegisteredEntity(int entityId)
Removes a registered entity. |
void |
removeTemplateManagement(int templateId)
|
LinkedList |
retrieveMaximumSequeceNumberAndTimestamp(int temlateId)
|
LinkedList |
retrieveMinimumSequeceNumberAndTimestamp(int temlateId)
|
long[] |
retrieveMissedSequences(long startingAt,
long endingAt,
int templateId,
int entityId)
Retrieves a list of missed sequences between the specified range of sequence numbers. |
long[] |
retrieveSequences(long startingAt,
long endingAt,
int templateId,
int maxOccurs)
Between the sequence range specified, this method returns all sequences which belong to the specified template. |
LinkedList |
retrieveSequencesAndTimestamps(int templateId)
|
LinkedList |
retrieveSequencesAndTimestamps(long startingTimestamp,
long endingTimestamp,
int templateId)
|
LinkedList |
retrieveSequencesAndTimestampsStartingAt(long startingSequenceNumber,
long endingTimestamp,
int templateId)
|
LinkedList |
retrieveSequencesByTimestamps(long startingTimestamp,
long endingTimestamp,
int templateId)
|
long |
retrieveTimestamp(int templateId,
long sequenceNumber)
|
void |
store(CompanionDbInfo companionDbInfo,
InventoryEvent inventoryEvent,
SequenceDestinations sequenceDestinations)
This method should not return unless the event has been written to stable storage |
void |
storeEntityForTemplate(int entityId,
int templateId)
|
void |
storeProfile(int templateId,
Profile profile)
|
void |
storeRegisteredEntity(int entityId)
Stores a registered entity |
void |
storeTemplate(TemplateInfo templateInfo)
|
| Method Detail |
|---|
void storeProfile(int templateId,
Profile profile)
throws ServiceException
ServiceException
void removeProfile(int templateId,
Profile profile)
throws ServiceException
ServiceException
void storeRegisteredEntity(int entityId)
throws ServiceException
ServiceException
void removeRegisteredEntity(int entityId)
throws ServiceException
ServiceException
void storeTemplate(TemplateInfo templateInfo)
throws ServiceException
ServiceException
void removeTemplateManagement(int templateId)
throws ServiceException
ServiceException
void storeEntityForTemplate(int entityId,
int templateId)
throws ServiceException
ServiceException
void removeEntityFromTemplate(int entityId,
int templateId)
throws ServiceException
ServiceException
int[] getListOfRegisteredEntities()
throws ServiceException
ServiceException
int[] getListOfRegisteredEntities(int templateId)
throws ServiceException
ServiceException
Profile[] getListOfRegisteredProfiles(int templateId)
throws ServiceException
ServiceException
TemplateInfo[] getListOfManagedTemplates()
throws ServiceException
ServiceException
void store(CompanionDbInfo companionDbInfo,
InventoryEvent inventoryEvent,
SequenceDestinations sequenceDestinations)
throws ServiceException
ServiceException
InventoryEvent getStoredEvent(long sequenceNumber)
throws ServiceException
ServiceException
void processAcknowledgement(long sequenceNumber,
int entityId)
throws ServiceException
ServiceException
long[] checkIfSequencesBelongToTemplate(int templateId,
long[] sequences)
throws ServiceException
ServiceException
LinkedList retrieveSequencesAndTimestamps(int templateId)
throws ServiceException
ServiceException
LinkedList retrieveSequencesAndTimestamps(long startingTimestamp,
long endingTimestamp,
int templateId)
throws ServiceException
ServiceException
long retrieveTimestamp(int templateId,
long sequenceNumber)
throws ServiceException
ServiceException
LinkedList retrieveSequencesAndTimestampsStartingAt(long startingSequenceNumber,
long endingTimestamp,
int templateId)
throws ServiceException
ServiceException
LinkedList retrieveSequencesByTimestamps(long startingTimestamp,
long endingTimestamp,
int templateId)
throws ServiceException
ServiceException
long getTimestamp(long sequnceNumber,
int templateId)
throws ServiceException
ServiceException
long[] retrieveSequences(long startingAt,
long endingAt,
int templateId,
int maxOccurs)
throws ServiceException
ServiceException
long[] retrieveMissedSequences(long startingAt,
long endingAt,
int templateId,
int entityId)
throws ServiceException
ServiceException
void advanceSyncpoint(long syncpoint,
int templateId,
int entityId)
throws ServiceException
ServiceException
long getSyncpoint(int templateId,
int entityId)
throws ServiceException
ServiceException
void advanceCatenation(int catenation,
int templateId,
int entityId)
throws ServiceException
ServiceException
int getCatenation(int templateId,
int entityId)
throws ServiceException
ServiceException
long getSequenceNumberLastAssigned()
throws ServiceException
ServiceException
long getSequenceNumberLastAssigned(int templateId)
throws ServiceException
ServiceException
LinkedList retrieveMinimumSequeceNumberAndTimestamp(int temlateId)
throws ServiceException
ServiceException
LinkedList retrieveMaximumSequeceNumberAndTimestamp(int temlateId)
throws ServiceException
ServiceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||