JmxMetricExporterSpi
with "name=\"tx\"" instead.@Deprecated public class TransactionMetricsMxBeanImpl extends Object implements TransactionMetricsMxBean
Constructor and Description |
---|
TransactionMetricsMxBeanImpl()
Deprecated.
Create TransactionMetricsMxBeanImpl.
|
TransactionMetricsMxBeanImpl(TransactionMetrics transactionMetrics)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
commitTime()
Deprecated.
The last time, when transaction was commited.
|
Map<String,String> |
getAllOwnerTransactions()
Deprecated.
All near transactions
|
long |
getLockedKeysNumber()
Deprecated.
The number of keys locked on the node.
|
Map<String,String> |
getLongRunningOwnerTransactions(int duration)
Deprecated.
Long running near transactions
|
long |
getOwnerTransactionsNumber()
Deprecated.
The number of active transactions for which this node is the initiator.
|
long |
getTransactionsCommittedNumber()
Deprecated.
The number of transactions which were committed.
|
long |
getTransactionsHoldingLockNumber()
Deprecated.
The number of active transactions holding at least one key lock.
|
long |
getTransactionsRolledBackNumber()
Deprecated.
The number of transactions which were rollback.
|
long |
rollbackTime()
Deprecated.
The last time, when transaction was rollbacked.
|
int |
txCommits()
Deprecated.
The total number of commited transactions.
|
int |
txRollbacks()
Deprecated.
Tne total number of rollbacked transactions.
|
public TransactionMetricsMxBeanImpl()
public TransactionMetricsMxBeanImpl(TransactionMetrics transactionMetrics)
transactionMetrics
- Transaction metrics.public long commitTime()
commitTime
in interface TransactionMetricsMxBean
commitTime
in interface TransactionMetrics
public long rollbackTime()
rollbackTime
in interface TransactionMetricsMxBean
rollbackTime
in interface TransactionMetrics
public int txCommits()
txCommits
in interface TransactionMetricsMxBean
txCommits
in interface TransactionMetrics
public int txRollbacks()
txRollbacks
in interface TransactionMetricsMxBean
txRollbacks
in interface TransactionMetrics
public Map<String,String> getAllOwnerTransactions()
getAllOwnerTransactions
in interface TransactionMetricsMxBean
getAllOwnerTransactions
in interface TransactionMetrics
public Map<String,String> getLongRunningOwnerTransactions(int duration)
getLongRunningOwnerTransactions
in interface TransactionMetricsMxBean
getLongRunningOwnerTransactions
in interface TransactionMetrics
public long getTransactionsCommittedNumber()
getTransactionsCommittedNumber
in interface TransactionMetricsMxBean
getTransactionsCommittedNumber
in interface TransactionMetrics
public long getTransactionsRolledBackNumber()
getTransactionsRolledBackNumber
in interface TransactionMetricsMxBean
getTransactionsRolledBackNumber
in interface TransactionMetrics
public long getTransactionsHoldingLockNumber()
getTransactionsHoldingLockNumber
in interface TransactionMetricsMxBean
getTransactionsHoldingLockNumber
in interface TransactionMetrics
public long getLockedKeysNumber()
getLockedKeysNumber
in interface TransactionMetricsMxBean
getLockedKeysNumber
in interface TransactionMetrics
public long getOwnerTransactionsNumber()
getOwnerTransactionsNumber
in interface TransactionMetricsMxBean
getOwnerTransactionsNumber
in interface TransactionMetrics
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021