[ https://issues.apache.org/jira/browse/IGNITE-8077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16444178#comment-16444178 ]
ASF GitHub Bot commented on IGNITE-8077: ---------------------------------------- GitHub user akalash opened a pull request: https://github.com/apache/ignite/pull/3879 IGNITE-8077 implemented getTxHoldingLockNum and getLockedKeysNum in TxMXBeanImpl You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite IGNITE-8077 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/3879.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3879 ---- commit d5e1457006e042508b7394d38e878fd942851d2e Author: AMedvedev <amedvedev@...> Date: 2018-04-03T02:46:26Z IGNITE-8077: wip commit a0eef40e1b270276e1e75d15cb76303c7bcaaa37 Author: AMedvedev <amedvedev@...> Date: 2018-04-03T04:33:20Z IGNITE-8077: simplify commit 830aeaedd9397835f6cf0fc6da224e4d6a8f014c Author: Anton Kalashnikov <kaa.dev@...> Date: 2018-04-19T15:00:13Z IGNITE-8077 implemented getTxHoldingLockNum and getLockedKeysNum in TxMXBeanImpl ---- > Implement new JMX metrics for transactions > ------------------------------------------ > > Key: IGNITE-8077 > URL: https://issues.apache.org/jira/browse/IGNITE-8077 > Project: Ignite > Issue Type: New Feature > Reporter: Dmitriy Govorukhin > Assignee: Anton Kalashnikov > Priority: Major > Labels: iep-6 > Fix For: 2.5 > > > These additional metrics should be implemented to monitor transactions. > {code} > class TransactionsMXbean{ > /** The number of transactions which was commited. */ > long getTxCommited(); > /** The number of transactions which was rollbacked. */ > long getTxRolledBack(); > /** The number of transactions holding at least one key lock. */ > long getTxHoldingLock(); > /** The number of keys locked on the node. */ > long getLockedKeys(); > /** The number of transactions for which node is the initiator. */ > int getOwnerTxs(); > } > {code} > For more details see in IgniteTxAdapter and IgniteTxManager. -- This message was sent by Atlassian JIRA (v7.6.3#76005)