|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoreQueue
The StoreQueue interface.
Method Summary | |
---|---|
void |
addTransactionToCompleted(int sequenceNo)
This method removes the given transaction form the store queue and adds it to the successfully completed queue |
void |
addTransactionToError(int sequenceNo)
This method removes the given transaction form the store queue and adds it to the error queue |
StoreTransaction |
createStoredTransaction(Vector request)
This method adds a new transaction to the store queue. |
Enumeration |
findAllErrorTransactions()
This method will find all the transactions on the error queue. |
Enumeration |
findAllStoredTransactions()
This method will find all the transactions on the store queue |
Enumeration |
findAllSuccessfulTransactions()
This method will find all the transactions on the successful queue. |
DataPacket |
findNextStoredTransaction()
This method will return the transaction at the head of the store queue |
DataPacket |
findStoredTransactionBySequenceNo(int sequenceNo)
This method performs a lookup on the Store queue by sequenceNo |
Enumeration |
findStoredTransactionsInTimePeriod(long startTime,
long endTime)
This method performs a lookup on the store queue for a given time period |
boolean |
isStoreEmpty()
This method will determine if the store has transactions on it |
String |
nextStoredTransactionBatch()
This method will return a batch of transactions using the BankframeResource.properties file to get the no. |
void |
removeTransactionFromError(int sequenceNo)
This method removes the transaction from the error queue with the given sequence number. |
void |
removeTransactionFromSuccessful(int sequenceNo)
This method removes the transaction from the Successful queue with the given sequenceNo. |
void |
setOffline()
This method will set all host destinations offline |
void |
setOnline()
This method will set all host destinations online |
Method Detail |
---|
void addTransactionToCompleted(int sequenceNo) throws ProcessingErrorException, RemoteException
sequenceNo
- A valid sequence number of a completed transaction.
ProcessingErrorException
RemoteException
void addTransactionToError(int sequenceNo) throws ProcessingErrorException, RemoteException
sequenceNo
- A valid sequence number of transaction which returned
an error.
ProcessingErrorException
RemoteException
StoreTransaction createStoredTransaction(Vector request) throws ProcessingErrorException, RemoteException
request
- vector
ProcessingErrorException
RemoteException
Enumeration findAllErrorTransactions() throws ProcessingErrorException, RemoteException
ProcssingErrorException
RemoteException
ProcessingErrorException
Enumeration findAllStoredTransactions() throws ProcessingErrorException, RemoteException
ProcssingErrorException
RemoteException
ProcessingErrorException
Enumeration findAllSuccessfulTransactions() throws ProcessingErrorException, RemoteException
ProcssingErrorException
RemoteException
ProcessingErrorException
DataPacket findNextStoredTransaction() throws ProcessingErrorException, RemoteException
ProcssingErrorException
RemoteException
ProcessingErrorException
DataPacket findStoredTransactionBySequenceNo(int sequenceNo) throws ProcessingErrorException, RemoteException
sequenceNo
- A valid SEQUENCE_NO of a stored transaction.
ProcessingErrorException
RemoteExcpetion
RemoteException
Enumeration findStoredTransactionsInTimePeriod(long startTime, long endTime) throws ProcessingErrorException, ValidationException, RemoteException
startTime
- time to start searching from.endTime
- time to end searching to.
ProcessingErrorException
RemoteException
ValidationException
boolean isStoreEmpty() throws ProcessingErrorException, RemoteException
ProcessingErrorException
RemoteException
String nextStoredTransactionBatch() throws ProcessingErrorException, RemoteException
ProcssingErrorException
RemoteException
ProcessingErrorException
void removeTransactionFromError(int sequenceNo) throws ProcessingErrorException, RemoteException
sequenceNo
- A valid sequence number of a stored transaction.
ProcessingErrorException
RemoteException
void removeTransactionFromSuccessful(int sequenceNo) throws ProcessingErrorException, RemoteException
sequenceNo
- A valid sequence number of a stored transaction.
ProcessingErrorException
RemoteException
void setOffline() throws ProcessingErrorException, RemoteException
ProcessingErrorException
RemoteException
void setOnline() throws ProcessingErrorException, RemoteException
ProcessingErrorException
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |