public class HGTransactionEndEvent extends HGEventBase
success indicates whether the transaction was successful.
Listen to this event for example if you want to monitor all transactions
occurring in the database.| Constructor and Description |
|---|
HGTransactionEndEvent(HGTransaction transaction,
boolean success) |
| Modifier and Type | Method and Description |
|---|---|
HGTransaction |
getTransaction()
Return the transaction object representing the transaction that just ended.
|
boolean |
isSuccessful()
Return
true if the transaction completed successfully and false
otherwise. |
getSourcepublic HGTransactionEndEvent(HGTransaction transaction, boolean success)
public HGTransaction getTransaction()
public boolean isSuccessful()
true if the transaction completed successfully and false
otherwise.Copyright © 2015. All rights reserved.