Class ExtendedStatisticInterceptor

  • All Implemented Interfaces:
    org.infinispan.commands.Visitor, AsyncInterceptor

    public class ExtendedStatisticInterceptor
    extends BaseCustomAsyncInterceptor
    Take the statistics about relevant visitable commands.
    Since:
    6.0
    Author:
    Roberto Palmieri, Sebastiano Peluso, Diego Didona, Pedro Ruivo
    • Constructor Detail

      • ExtendedStatisticInterceptor

        public ExtendedStatisticInterceptor()
    • Method Detail

      • visitPrepareCommand

        public Object visitPrepareCommand​(org.infinispan.context.impl.TxInvocationContext ctx,
                                          org.infinispan.commands.tx.PrepareCommand command)
                                   throws Throwable
        Specified by:
        visitPrepareCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitPrepareCommand in class DDAsyncInterceptor
        Throws:
        Throwable
      • visitCommitCommand

        public Object visitCommitCommand​(org.infinispan.context.impl.TxInvocationContext ctx,
                                         org.infinispan.commands.tx.CommitCommand command)
                                  throws Throwable
        Specified by:
        visitCommitCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitCommitCommand in class DDAsyncInterceptor
        Throws:
        Throwable
      • visitRollbackCommand

        public Object visitRollbackCommand​(org.infinispan.context.impl.TxInvocationContext ctx,
                                           org.infinispan.commands.tx.RollbackCommand command)
                                    throws Throwable
        Specified by:
        visitRollbackCommand in interface org.infinispan.commands.Visitor
        Overrides:
        visitRollbackCommand in class DDAsyncInterceptor
        Throws:
        Throwable
      • getAvgPrepareRtt

        public double getAvgPrepareRtt()
      • getAvgCommitRtt

        public double getAvgCommitRtt()
      • getAvgRemoteGetRtt

        public double getAvgRemoteGetRtt()
      • getAvgRollbackRtt

        public double getAvgRollbackRtt()
      • getAvgCompleteNotificationAsync

        public double getAvgCompleteNotificationAsync()
      • getAvgNumNodesCommit

        public double getAvgNumNodesCommit()
      • getAvgNumNodesCompleteNotification

        public double getAvgNumNodesCompleteNotification()
      • getAvgNumNodesRemoteGet

        public double getAvgNumNodesRemoteGet()
      • getAvgNumNodesPrepare

        public double getAvgNumNodesPrepare()
      • getAvgNumNodesRollback

        public double getAvgNumNodesRollback()
      • getLocalExecutionTimeWithoutLock

        public double getLocalExecutionTimeWithoutLock()
      • getAvgLockHoldTime

        public double getAvgLockHoldTime()
      • getAvgLocalLockHoldTime

        public double getAvgLocalLockHoldTime()
      • getAvgRemoteLockHoldTime

        public double getAvgRemoteLockHoldTime()
      • getAvgCommitTime

        public double getAvgCommitTime()
      • getAvgRollbackTime

        public double getAvgRollbackTime()
      • getAvgPrepareCommandSize

        public double getAvgPrepareCommandSize()
      • getAvgCommitCommandSize

        public double getAvgCommitCommandSize()
      • getAvgClusteredGetCommandSize

        public double getAvgClusteredGetCommandSize()
      • getAvgLockWaitingTime

        public double getAvgLockWaitingTime()
      • getAvgTxArrivalRate

        public double getAvgTxArrivalRate()
      • getPercentageWriteTransactions

        public double getPercentageWriteTransactions()
      • getPercentageSuccessWriteTransactions

        public double getPercentageSuccessWriteTransactions()
      • getNumAbortedTxDueTimeout

        public double getNumAbortedTxDueTimeout()
      • getNumAbortedTxDueDeadlock

        public double getNumAbortedTxDueDeadlock()
      • getAvgReadOnlyTxDuration

        public double getAvgReadOnlyTxDuration()
      • getAvgWriteTxDuration

        public double getAvgWriteTxDuration()
      • getAvgAbortedWriteTxDuration

        public double getAvgAbortedWriteTxDuration()
      • getAvgNumOfLockLocalTx

        public double getAvgNumOfLockLocalTx()
      • getAvgNumOfLockRemoteTx

        public double getAvgNumOfLockRemoteTx()
      • getAvgNumOfLockSuccessLocalTx

        public double getAvgNumOfLockSuccessLocalTx()
      • getAvgLocalPrepareTime

        public double getAvgLocalPrepareTime()
      • getAvgRemotePrepareTime

        public double getAvgRemotePrepareTime()
      • getAvgLocalCommitTime

        public double getAvgLocalCommitTime()
      • getAvgRemoteCommitTime

        public double getAvgRemoteCommitTime()
      • getAvgLocalRollbackTime

        public double getAvgLocalRollbackTime()
      • getAvgRemoteRollbackTime

        public double getAvgRemoteRollbackTime()
      • getAbortRate

        public double getAbortRate()
      • getThroughput

        public double getThroughput()
      • getAvgGetsPerROTransaction

        public double getAvgGetsPerROTransaction()
      • getAvgGetsPerWrTransaction

        public double getAvgGetsPerWrTransaction()
      • getAvgRemoteGetsPerWrTransaction

        public double getAvgRemoteGetsPerWrTransaction()
      • getAvgRemoteGetsPerROTransaction

        public double getAvgRemoteGetsPerROTransaction()
      • getRemoteGetExecutionTime

        public double getRemoteGetExecutionTime()
      • getAvgPutsPerWrTransaction

        public double getAvgPutsPerWrTransaction()
      • getAvgRemotePutsPerWrTransaction

        public double getAvgRemotePutsPerWrTransaction()
      • getRemotePutExecutionTime

        public double getRemotePutExecutionTime()
      • getNumberOfGets

        public double getNumberOfGets()
      • getNumberOfRemoteGets

        public double getNumberOfRemoteGets()
      • getNumberOfPuts

        public double getNumberOfPuts()
      • getNumberOfRemotePuts

        public double getNumberOfRemotePuts()
      • getNumberOfCommits

        public double getNumberOfCommits()
      • getNumberOfLocalCommits

        public double getNumberOfLocalCommits()
      • getWriteSkewProbability

        public double getWriteSkewProbability()
      • getPercentileLocalReadOnlyTransaction

        public double getPercentileLocalReadOnlyTransaction​(int percentile)
      • getPercentileRemoteReadOnlyTransaction

        public double getPercentileRemoteReadOnlyTransaction​(int percentile)
      • getPercentileLocalRWriteTransaction

        public double getPercentileLocalRWriteTransaction​(int percentile)
      • getPercentileRemoteWriteTransaction

        public double getPercentileRemoteWriteTransaction​(int percentile)
      • resetStatistics

        public void resetStatistics()
      • getAvgLocalGetTime

        public double getAvgLocalGetTime()
      • getNumNodes

        public double getNumNodes()
      • getReplicationDegree

        public double getReplicationDegree()
      • getLocalActiveTransactions

        public double getLocalActiveTransactions()
      • getAvgResponseTime

        public double getAvgResponseTime()
      • getStatisticValue

        public final double getStatisticValue​(String statName)
      • getAvailableExtendedStatistics

        public final String getAvailableExtendedStatistics()
      • dumpStatistics

        public final String dumpStatistics()
      • dumpStatisticsToSystemOut

        public final void dumpStatisticsToSystemOut()