Package org.apache.ignite.events
Class TransactionStateChangedEvent
- java.lang.Object
-
- org.apache.ignite.events.EventAdapter
-
- org.apache.ignite.events.TransactionStateChangedEvent
-
- All Implemented Interfaces:
Serializable,Comparable<Event>,Event
public class TransactionStateChangedEvent extends EventAdapter
Event indicates transaction state change.- See Also:
EventType.EVTS_TX, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransactionStateChangedEvent(ClusterNode node, String msg, int type, Transaction tx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Transactiontx()
-
-
-
Constructor Detail
-
TransactionStateChangedEvent
public TransactionStateChangedEvent(ClusterNode node, String msg, int type, Transaction tx)
- Parameters:
node- Node.msg- Message.type- Type.tx- Tx.
-
-
Method Detail
-
tx
public Transaction tx()
- Returns:
- Transaction proxy allows all 'get' operations such as
Transaction.label()and alsoTransaction.setRollbackOnly()method.
-
-