|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ForwardTransaction
This interface defines the remote interface for the ForwardTransaction session EJB.
Method Summary | |
---|---|
DataPacket |
forwardAll(String threadName)
This method will forward all requests in the queue. |
DataPacket |
forwardAll(String threadName,
int rate)
This method will forward all requests in the queue. |
DataPacket |
forwardSingle(String threadName,
int sequenceNumber)
This method will forward an individual request from the queue |
DataPacket |
forwardSubset(String threadName,
SortedSet transactions,
int rate)
This method will forward a subset of the store. |
DataPacket |
setMonitorStatus(int rate)
This method will set the status of the host monitor. |
Method Detail |
---|
DataPacket setMonitorStatus(int rate) throws RemoteException
rate
- the number of milliseconds to delay for
RemoteException
DataPacket forwardAll(String threadName) throws RemoteException, ProcessingErrorException
threadName
- String
RemoteException
ProcessingErrorException
DataPacket forwardAll(String threadName, int rate) throws RemoteException, ProcessingErrorException
threadName
- Stringrate
- int
RemoteException
ProcessingErrorException
DataPacket forwardSingle(String threadName, int sequenceNumber) throws RemoteException
sequenceNumber
- the sequence number of the request to process
RemoteException
DataPacket forwardSubset(String threadName, SortedSet transactions, int rate) throws RemoteException
threadName
- Stringtransactions
- A sortedSet object containing all the sequence numbers of the
transactions to be forwardedrate
- The number of requests to forward per second, -1 for no delay
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |