/** * @param type Event type. */ protected void recordStateChangedEvent(int type){ assert near() && local(); GridEventStorageManager evtMgr = cctx.gridEvents(); if (!system() /* ignoring system tx */ && evtMgr.isRecordable(type)) evtMgr.record(new TransactionStateChangedEvent( cctx.discovery().localNode(), "Transaction state changed.", type, new TransactionEventProxyImpl((GridNearTxLocal)this))); }
/** * @param type Event type. */ protected void recordStateChangedEvent(int type){ assert near() && local(); GridEventStorageManager evtMgr = cctx.gridEvents(); if (!system() /* ignoring system tx */ && evtMgr.isRecordable(type)) evtMgr.record(new TransactionStateChangedEvent( cctx.discovery().localNode(), "Transaction state changed.", type, new TransactionEventProxyImpl((GridNearTxLocal)this))); }