|
|||||||||
| Home >> All >> com >> go >> trove >> util >> [ tq overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.go.trove.util.tq
Interface TransactionQueueListener

- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- TransactionQueueAdapter
- public interface TransactionQueueListener
- extends java.util.EventListener
Interface used to receive events from a TransactionQueue.
- Version:
- 9 , 9/25/00
| Method Summary | |
void |
transactionDequeued(TransactionQueueEvent e)
Called when the transaction is dequeued and ready to be serviced. |
void |
transactionEnqueued(TransactionQueueEvent e)
Called when the transaction is successfully enqueued. |
void |
transactionException(TransactionQueueEvent e)
Called if an exception was thrown while trying to service the transaction. |
void |
transactionExpired(TransactionQueueEvent e)
Called if a transaction couldn't be serviced because it expired. |
void |
transactionQueueFull(TransactionQueueEvent e)
Called if the transaction couldn't be enqueued because the queue is full. |
void |
transactionServiced(TransactionQueueEvent e)
Called after the transaction has been serviced, unless an exception was thrown while trying to service the transaction. |
| Method Detail |
transactionQueueFull
public void transactionQueueFull(TransactionQueueEvent e)
- Called if the transaction couldn't be enqueued because the queue is
full. The transaction is not cancelled.
The stage duration value in the event is zero.
transactionEnqueued
public void transactionEnqueued(TransactionQueueEvent e)
- Called when the transaction is successfully enqueued.
The stage duration value in the event is zero.
transactionDequeued
public void transactionDequeued(TransactionQueueEvent e)
- Called when the transaction is dequeued and ready to be serviced.
The stage duration value in the event represents the amount of time the transaction was queued.
transactionServiced
public void transactionServiced(TransactionQueueEvent e)
- Called after the transaction has been serviced, unless an exception
was thrown while trying to service the transaction.
The stage duration value in the event represents the amount of time the transaction took to service.
transactionExpired
public void transactionExpired(TransactionQueueEvent e)
- Called if a transaction couldn't be serviced because it expired.
The transaction is cancelled.
The stage duration value in the event represents the age of the expired transaction.
transactionException
public void transactionException(TransactionQueueEvent e)
- Called if an exception was thrown while trying to service the
transaction. The transaction is cancelled.
The stage duration value in the event represents the amount of time that passed servicing the transaction before an exception was thrown and after the transaction is cancelled.
|
|||||||||
| Home >> All >> com >> go >> trove >> util >> [ tq overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC