|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITransactionQueueHandler
The ITransactionQueueListener gets events when operations occur on the ITransactionQueue.
| Method Summary | |
|---|---|
void |
transactionAddedToQueue(ITransaction transaction)
Notified when a transaction was added to the queue. |
void |
transactionAddedToQueueFailed(ITransaction transaction,
java.lang.Exception exception)
Notified when a transaction was not added to queue because of an exception. |
void |
transactionQueueCleared()
Notified when the transaction queue was cleared of all transactions. |
void |
transactionQueueCommited(ITransaction transaction,
boolean commitSuccess,
java.util.List<AnzoException> errors)
Notified when a set of transactions were successfully committed on the server. |
| Method Detail |
|---|
void transactionAddedToQueue(ITransaction transaction)
throws AnzoException
transaction - that was added to queue
AnzoException - if there was an error processing event
void transactionQueueCommited(ITransaction transaction,
boolean commitSuccess,
java.util.List<AnzoException> errors)
throws AnzoException
transaction - that was committedcommitSuccess - whether this transaction committed successfullyerrors - List of errors if transaction failed to commit successfully
AnzoException - if there was an error processing event
void transactionQueueCleared()
throws AnzoException
AnzoException - if there was an error processing event
void transactionAddedToQueueFailed(ITransaction transaction,
java.lang.Exception exception)
throws AnzoException
transaction - that failed to be addedexception - Cause for the failure
AnzoException - if there was an error processing event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||