|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bankframe.ei.txnhandler.storeandforward.impl.forwardtransaction.ForwardingThread
This thread class monitors the connection to the host system. It is used with the store class to determine whether request in the store can be released to the host system. Every x seconds the thread will attempt to send a request to the host system. This will only happen if the store is non-empty.
Constructor Summary | |
ForwardingThread(java.lang.String name)
Forwarding thread constructor. |
|
ForwardingThread(java.lang.String name,
int delay)
Forwarding thread constructor. |
|
ForwardingThread(java.lang.String name,
java.util.SortedSet list)
Forwarding thread constructor. |
|
ForwardingThread(java.lang.String name,
java.util.SortedSet list,
int delay)
Forwarding thread constructor. |
Method Summary | |
void |
run()
This method forwards transactions from the store |
void |
start()
This method starts the forwarding thread at the lowest priority |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ForwardingThread(java.lang.String name)
BankFrameResource.properties
file and
is set to forward all transactions in the store
public ForwardingThread(java.lang.String name, int delay)
public ForwardingThread(java.lang.String name, java.util.SortedSet list)
BankFrameResource.properties
file and
is set to forward a subset of transactions in the store.
public ForwardingThread(java.lang.String name, java.util.SortedSet list, int delay)
Method Detail |
public void run()
run
in interface java.lang.Runnable
public void start()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |