@InterfaceAudience.Public @InterfaceStability.Stable public class AbortTxnEvent extends ListenerEvent
| Constructor and Description |
|---|
AbortTxnEvent(Long transactionId,
IHMSHandler handler) |
AbortTxnEvent(Long transactionId,
TxnType txnType) |
AbortTxnEvent(Long transactionId,
TxnType txnType,
IHMSHandler handler,
List<String> dbsUpdated) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getDbsUpdated()
Returns the list of the db names which might have written anything in this transaction.
|
Long |
getTxnId() |
TxnType |
getTxnType() |
getEnvironmentContext, getHandler, getIHMSHandler, getParameters, getStatus, putParameter, putParameters, setEnvironmentContextpublic AbortTxnEvent(Long transactionId, IHMSHandler handler)
public AbortTxnEvent(Long transactionId, TxnType txnType, IHMSHandler handler, List<String> dbsUpdated)
transactionId - Unique identification for the transaction that got rolledback.txnType - type of transactionhandler - handler that is firing the eventdbsUpdated - list of databases that had update eventsCopyright © 2024 The Apache Software Foundation. All rights reserved.