Interface TransactionalBufferMetricsMXBean
-
- All Known Implementing Classes:
TransactionalBufferMetrics
public interface TransactionalBufferMetricsMXBeanThis interface exposes TransactionalBuffer metrics
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>getAbandonedTransactionIds()This is to get list of removed transactions from the Transactional BufferLonggetCommittedScn()It shows last committed SCNlonggetCommitThroughput()Exposes average number of committed transactions per secondintgetErrorCounter()This is to get logged logError counter.longgetLagFromSource()This is to get the lag between latest captured change timestamp in REDO LOG and time of it's placement in the bufferLonggetLastCommitDuration()Get time duration taken my executing all callbacks for the commitLonggetMaxCommitDuration()Get max time duration taken my executing all callbackslonggetMaxLagFromSource()This is to get max value of the time difference between logging of source DB records into redo log and capturing it by LogMinerlonggetMinLagFromSource()This is to get min value of the time difference between logging of source DB records into redo log and capturing it by LogMinerintgetNumberOfActiveTransactions()Exposes number of transaction, buffered in memorylonggetNumberOfCommittedTransactions()Exposes number of committed transactionslonggetNumberOfRolledBackTransactions()Exposes number of rolled back transactionsLonggetOffsetScn()Get the offset SCNLonggetOldestScn()Exposes the oldest(smallest) SCN in the Transactional BufferlonggetRegisteredDmlCount()Exposes total number of registered DML operationsSet<String>getRolledBackTransactionIds()See which transactions were rolled backintgetScnFreezeCounter()Get counter of encountered observations when SCN does not change in the offset.intgetWarningCounter()This is to get logged warning countervoidreset()Reset metrics
-
-
-
Method Detail
-
getNumberOfRolledBackTransactions
long getNumberOfRolledBackTransactions()
Exposes number of rolled back transactions- Returns:
- number of rolled back transaction in the in-memory buffer
-
getNumberOfCommittedTransactions
long getNumberOfCommittedTransactions()
Exposes number of committed transactions- Returns:
- number of committed transaction in the in-memory buffer
-
getCommitThroughput
long getCommitThroughput()
Exposes average number of committed transactions per second- Returns:
- average number of committed transactions per second in the in-memory buffer
-
getRegisteredDmlCount
long getRegisteredDmlCount()
Exposes total number of registered DML operations- Returns:
- registered DML count
-
getNumberOfActiveTransactions
int getNumberOfActiveTransactions()
Exposes number of transaction, buffered in memory- Returns:
- number of currently buffered transactions
-
getOldestScn
Long getOldestScn()
Exposes the oldest(smallest) SCN in the Transactional Buffer- Returns:
- oldest SCN
-
getCommittedScn
Long getCommittedScn()
It shows last committed SCN- Returns:
- committed SCN
-
getOffsetScn
Long getOffsetScn()
Get the offset SCN- Returns:
- offset SCN
-
getLagFromSource
long getLagFromSource()
This is to get the lag between latest captured change timestamp in REDO LOG and time of it's placement in the buffer- Returns:
- lag in milliseconds
-
getMaxLagFromSource
long getMaxLagFromSource()
This is to get max value of the time difference between logging of source DB records into redo log and capturing it by LogMiner- Returns:
- value in milliseconds
-
getMinLagFromSource
long getMinLagFromSource()
This is to get min value of the time difference between logging of source DB records into redo log and capturing it by LogMiner- Returns:
- value in milliseconds
-
getAbandonedTransactionIds
Set<String> getAbandonedTransactionIds()
This is to get list of removed transactions from the Transactional Buffer- Returns:
- count abandoned transaction ids
-
getRolledBackTransactionIds
Set<String> getRolledBackTransactionIds()
See which transactions were rolled back- Returns:
- set of transaction IDs
-
reset
void reset()
Reset metrics
-
getErrorCounter
int getErrorCounter()
This is to get logged logError counter.- Returns:
- the error counter
-
getWarningCounter
int getWarningCounter()
This is to get logged warning counter- Returns:
- the warning counter
-
getScnFreezeCounter
int getScnFreezeCounter()
Get counter of encountered observations when SCN does not change in the offset.- Returns:
- the scn freeze counter
-
getLastCommitDuration
Long getLastCommitDuration()
Get time duration taken my executing all callbacks for the commit- Returns:
- milliseconds
-
getMaxCommitDuration
Long getMaxCommitDuration()
Get max time duration taken my executing all callbacks- Returns:
- milliseconds
-
-