Package org.apache.ignite.transactions
Interface TransactionMetrics
- 
- All Known Subinterfaces:
- TransactionMetricsMxBean
 
 public interface TransactionMetricsTransaction metrics, shared across all caches.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description longcommitTime()Gets last time transaction was committed.Map<String,String>getAllOwnerTransactions()Gets a map of all transactions for which the local node is the originating node.longgetLockedKeysNumber()The number of keys locked on the node.Map<String,String>getLongRunningOwnerTransactions(int duration)Gets a map of all transactions for which the local node is the originating node and which duration exceeds the given duration.longgetOwnerTransactionsNumber()The number of active transactions for which this node is the initiator.longgetTransactionsCommittedNumber()The number of transactions which were committed on the local node.longgetTransactionsHoldingLockNumber()The number of active transactions on the local node holding at least one key lock.longgetTransactionsRolledBackNumber()The number of transactions which were rolled back on the local node.longrollbackTime()Gets last time transaction was rollback.inttxCommits()Gets total number of transaction commits.inttxRollbacks()Gets total number of transaction rollbacks.
 
- 
- 
- 
Method Detail- 
commitTimelong commitTime() Gets last time transaction was committed.- Returns:
- Last commit time.
 
 - 
rollbackTimelong rollbackTime() Gets last time transaction was rollback.- Returns:
- Last rollback time.
 
 - 
txCommitsint txCommits() Gets total number of transaction commits.- Returns:
- Number of transaction commits.
 
 - 
txRollbacksint txRollbacks() Gets total number of transaction rollbacks.- Returns:
- Number of transaction rollbacks.
 
 - 
getAllOwnerTransactionsMap<String,String> getAllOwnerTransactions() Gets a map of all transactions for which the local node is the originating node.- Returns:
- Map of local node owning transactions.
 
 - 
getLongRunningOwnerTransactionsMap<String,String> getLongRunningOwnerTransactions(int duration) Gets a map of all transactions for which the local node is the originating node and which duration exceeds the given duration.- Parameters:
- duration- Transaction duration.
- Returns:
- Map of local node owning transactions which duration is longer than duration.
 
 - 
getTransactionsCommittedNumberlong getTransactionsCommittedNumber() The number of transactions which were committed on the local node.- Returns:
- The number of transactions which were committed on the local node.
 
 - 
getTransactionsRolledBackNumberlong getTransactionsRolledBackNumber() The number of transactions which were rolled back on the local node.- Returns:
- The number of transactions which were rolled back on the local node.
 
 - 
getTransactionsHoldingLockNumberlong getTransactionsHoldingLockNumber() The number of active transactions on the local node holding at least one key lock.- Returns:
- The number of active transactions holding at least one key lock.
 
 - 
getLockedKeysNumberlong getLockedKeysNumber() The number of keys locked on the node.- Returns:
- The number of keys locked on the node.
 
 - 
getOwnerTransactionsNumberlong getOwnerTransactionsNumber() The number of active transactions for which this node is the initiator. Effectively, this method is semantically equivalent togetAllOwnerTransactions.size().- Returns:
- The number of active transactions for which this node is the initiator.
 
 
- 
 
-