Class OperationStatsBean
- java.lang.Object
-
- org.eclipse.rdf4j.spring.operationlog.log.jmx.OperationStatsBean
-
- All Implemented Interfaces:
OperationStatsMXBean,OperationExecutionStatsConsumer
public class OperationStatsBean extends Object implements OperationStatsMXBean, OperationExecutionStatsConsumer
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
-
Constructor Summary
Constructors Constructor Description OperationStatsBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconsumeOperationExecutionStats(OperationExecutionStats operationExecutionStats)List<AggregatedOperationStats>getAggregatedOperationStats()intgetDistinctOperationCount()intgetDistinctOperationExecutionCount()intgetTotalFailedOperationExecutionCount()intgetTotalOperationExecutionCount()longgetTotalOperationExecutionTime()voidreset()
-
-
-
Method Detail
-
getAggregatedOperationStats
public List<AggregatedOperationStats> getAggregatedOperationStats()
- Specified by:
getAggregatedOperationStatsin interfaceOperationStatsMXBean
-
getDistinctOperationCount
public int getDistinctOperationCount()
- Specified by:
getDistinctOperationCountin interfaceOperationStatsMXBean
-
getDistinctOperationExecutionCount
public int getDistinctOperationExecutionCount()
- Specified by:
getDistinctOperationExecutionCountin interfaceOperationStatsMXBean
-
getTotalOperationExecutionCount
public int getTotalOperationExecutionCount()
- Specified by:
getTotalOperationExecutionCountin interfaceOperationStatsMXBean
-
getTotalOperationExecutionTime
public long getTotalOperationExecutionTime()
- Specified by:
getTotalOperationExecutionTimein interfaceOperationStatsMXBean
-
getTotalFailedOperationExecutionCount
public int getTotalFailedOperationExecutionCount()
- Specified by:
getTotalFailedOperationExecutionCountin interfaceOperationStatsMXBean
-
reset
public void reset()
- Specified by:
resetin interfaceOperationStatsMXBean
-
consumeOperationExecutionStats
public void consumeOperationExecutionStats(OperationExecutionStats operationExecutionStats)
- Specified by:
consumeOperationExecutionStatsin interfaceOperationExecutionStatsConsumer
-
-