Package org.apache.ignite.mxbean
Interface TransactionMetricsMxBean
-
- All Superinterfaces:
TransactionMetrics
@Deprecated @MXBeanDescription("MBean that provides access to Ignite transactions.") public interface TransactionMetricsMxBean extends TransactionMetrics
Deprecated.Check theJmxMetricExporterSpi
with "name=\"tx\"" instead.Transactions MXBean interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description long
commitTime()
Deprecated.The last time, when transaction was commited.Map<String,String>
getAllOwnerTransactions()
Deprecated.All near transactionslong
getLockedKeysNumber()
Deprecated.The number of keys locked on the node.Map<String,String>
getLongRunningOwnerTransactions(int duration)
Deprecated.Long running near transactionslong
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.
-
-
-
Method Detail
-
getAllOwnerTransactions
@MXBeanDescription("All near transactions.") Map<String,String> getAllOwnerTransactions()
Deprecated.All near transactions- Specified by:
getAllOwnerTransactions
in interfaceTransactionMetrics
- Returns:
- near transactions.
-
getLongRunningOwnerTransactions
@MXBeanDescription("Long running near transactions.") Map<String,String> getLongRunningOwnerTransactions(@MXBeanParameter(name="duration",description="Duration, at least (ms).") int duration)
Deprecated.Long running near transactions- Specified by:
getLongRunningOwnerTransactions
in interfaceTransactionMetrics
- Parameters:
duration
- Transaction duration.- Returns:
- near transactions.
-
getTransactionsCommittedNumber
@MXBeanDescription("The number of transactions which were committed.") long getTransactionsCommittedNumber()
Deprecated.The number of transactions which were committed.- Specified by:
getTransactionsCommittedNumber
in interfaceTransactionMetrics
- Returns:
- number of transactions which were committed.
-
getTransactionsRolledBackNumber
@MXBeanDescription("The number of transactions which were rollback.") long getTransactionsRolledBackNumber()
Deprecated.The number of transactions which were rollback.- Specified by:
getTransactionsRolledBackNumber
in interfaceTransactionMetrics
- Returns:
- number of transactions which were rollback.
-
getTransactionsHoldingLockNumber
@MXBeanDescription("The number of active transactions holding at least one key lock.") long getTransactionsHoldingLockNumber()
Deprecated.The number of active transactions holding at least one key lock.- Specified by:
getTransactionsHoldingLockNumber
in interfaceTransactionMetrics
- Returns:
- number of active transactions holding at least one key lock.
-
getLockedKeysNumber
@MXBeanDescription("The number of keys locked on the node.") long getLockedKeysNumber()
Deprecated.The number of keys locked on the node.- Specified by:
getLockedKeysNumber
in interfaceTransactionMetrics
- Returns:
- number of keys locked on the node.
-
getOwnerTransactionsNumber
@MXBeanDescription("The number of active transactions for which this node is the initiator.") long getOwnerTransactionsNumber()
Deprecated.The number of active transactions for which this node is the initiator.- Specified by:
getOwnerTransactionsNumber
in interfaceTransactionMetrics
- Returns:
- number of active transactions for which this node is the initiator.
-
commitTime
@MXBeanDescription("Last commit time.") long commitTime()
Deprecated.The last time, when transaction was commited.- Specified by:
commitTime
in interfaceTransactionMetrics
- Returns:
- last time, when transaction was commited.
-
rollbackTime
@MXBeanDescription("Last rollback time.") long rollbackTime()
Deprecated.The last time, when transaction was rollbacked.- Specified by:
rollbackTime
in interfaceTransactionMetrics
- Returns:
- last time, when transaction was rollbacked.
-
txCommits
@MXBeanDescription("Number of transaction commits.") int txCommits()
Deprecated.The total number of commited transactions.- Specified by:
txCommits
in interfaceTransactionMetrics
- Returns:
- total number of commited transactions.
-
txRollbacks
@MXBeanDescription("Number of transaction rollbacks.") int txRollbacks()
Deprecated.Tne total number of rollbacked transactions.- Specified by:
txRollbacks
in interfaceTransactionMetrics
- Returns:
- total number of rollbacked transactions.
-
-