Interface TransactionalBufferMetricsMXBean

  • All Known Implementing Classes:
    TransactionalBufferMetrics

    public interface TransactionalBufferMetricsMXBean
    This interface exposes TransactionalBuffer 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