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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
consumeOperationExecutionStats
(OperationExecutionStats operationExecutionStats) int
int
int
int
long
void
reset()
-
Constructor Details
-
OperationStatsBean
public OperationStatsBean()
-
-
Method Details
-
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
- Specified by:
consumeOperationExecutionStats
in interfaceOperationExecutionStatsConsumer
-