|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.ei.txnhandler.storeandforward.storequeue.StoreQueueBean
The StoreQueueBean class
Constructor Summary | |
StoreQueueBean()
|
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(java.util.Vector request)
This method adds a new transaction to the store queue. |
java.util.Enumeration |
findAllErrorTransactions()
This method will find all the transactions on the successful queue. |
java.util.Enumeration |
findAllStoredTransactions()
This method will find all the transactions on the store queue |
java.util.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 stored queue |
DataPacket |
findStoredTransactionBySequenceNo(int sequenceNo)
This method performs a lookup on the Store queue by sequenceNo |
java.util.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 |
java.lang.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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StoreQueueBean()
Method Detail |
public void addTransactionToCompleted(int sequenceNo) throws ProcessingErrorException, java.rmi.RemoteException
sequenceNo
- A valid sequence number of a completed transaction.
ProcessingErrorException
java.rmi.RemoteException
public void addTransactionToError(int sequenceNo) throws ProcessingErrorException, java.rmi.RemoteException
sequenceNo
- A valid sequence number of transaction which returned
an error.
ProcessingErrorException
java.rmi.RemoteException
public StoreTransaction createStoredTransaction(java.util.Vector request) throws ProcessingErrorException, java.rmi.RemoteException
ProcessingErrorException
java.rmi.RemoteException
public java.util.Enumeration findAllErrorTransactions() throws ProcessingErrorException, java.rmi.RemoteException
ProcssingErrorException
java.rmi.RemoteException
ProcessingErrorException
public java.util.Enumeration findAllStoredTransactions() throws ProcessingErrorException, java.rmi.RemoteException
ProcssingErrorException
java.rmi.RemoteException
ProcessingErrorException
public java.util.Enumeration findAllSuccessfulTransactions() throws ProcessingErrorException, java.rmi.RemoteException
ProcssingErrorException
java.rmi.RemoteException
ProcessingErrorException
public DataPacket findNextStoredTransaction() throws ProcessingErrorException, java.rmi.RemoteException
ProcssingErrorException
java.rmi.RemoteException
ProcessingErrorException
public DataPacket findStoredTransactionBySequenceNo(int sequenceNo) throws ProcessingErrorException, java.rmi.RemoteException
sequenceNo
- A valid SEQUENCE_NO of a stored transaction.
ProcessingErrorException
RemoteExcpetion
java.rmi.RemoteException
public java.util.Enumeration findStoredTransactionsInTimePeriod(long startTime, long endTime) throws ProcessingErrorException, java.rmi.RemoteException, ValidationException
startTime
- time to start searching from.endTime
- time to end searching to.
ProcessingErrorException
java.rmi.RemoteException
ValidationException
public boolean isStoreEmpty() throws ProcessingErrorException, java.rmi.RemoteException
ProcessingErrorException
java.rmi.RemoteException
public java.lang.String nextStoredTransactionBatch() throws ProcessingErrorException, java.rmi.RemoteException
ProcssingErrorException
java.rmi.RemoteException
ProcessingErrorException
public void removeTransactionFromError(int sequenceNo) throws ProcessingErrorException, java.rmi.RemoteException
sequenceNo
- A valid sequence number of a stored transaction.
ProcessingErrorException
java.rmi.RemoteException
public void removeTransactionFromSuccessful(int sequenceNo) throws ProcessingErrorException, java.rmi.RemoteException
sequenceNo
- A valid sequence number of a stored transaction.
ProcessingErrorException
java.rmi.RemoteException
public void setOffline() throws ProcessingErrorException, java.rmi.RemoteException
ProcssingErrorException
java.rmi.RemoteException
ProcessingErrorException
public void setOnline() throws ProcessingErrorException, java.rmi.RemoteException
ProcssingErrorException
java.rmi.RemoteException
ProcessingErrorException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |