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 void
consumeOperationExecutionStats(OperationExecutionStats operationExecutionStats)
List<AggregatedOperationStats>
getAggregatedOperationStats()
int
getDistinctOperationCount()
int
getDistinctOperationExecutionCount()
int
getTotalFailedOperationExecutionCount()
int
getTotalOperationExecutionCount()
long
getTotalOperationExecutionTime()
void
reset()
-
-
-
Method Detail
-
getAggregatedOperationStats
public List<AggregatedOperationStats> getAggregatedOperationStats()
- Specified by:
getAggregatedOperationStats
in interfaceOperationStatsMXBean
-
getDistinctOperationCount
public int getDistinctOperationCount()
- Specified by:
getDistinctOperationCount
in interfaceOperationStatsMXBean
-
getDistinctOperationExecutionCount
public int getDistinctOperationExecutionCount()
- Specified by:
getDistinctOperationExecutionCount
in interfaceOperationStatsMXBean
-
getTotalOperationExecutionCount
public int getTotalOperationExecutionCount()
- Specified by:
getTotalOperationExecutionCount
in interfaceOperationStatsMXBean
-
getTotalOperationExecutionTime
public long getTotalOperationExecutionTime()
- Specified by:
getTotalOperationExecutionTime
in interfaceOperationStatsMXBean
-
getTotalFailedOperationExecutionCount
public int getTotalFailedOperationExecutionCount()
- Specified by:
getTotalFailedOperationExecutionCount
in interfaceOperationStatsMXBean
-
reset
public void reset()
- Specified by:
reset
in interfaceOperationStatsMXBean
-
consumeOperationExecutionStats
public void consumeOperationExecutionStats(OperationExecutionStats operationExecutionStats)
- Specified by:
consumeOperationExecutionStats
in interfaceOperationExecutionStatsConsumer
-
-