Package com.arcadedb.server.monitor
Class DefaultServerMetrics
- java.lang.Object
-
- com.arcadedb.server.monitor.DefaultServerMetrics
-
- All Implemented Interfaces:
ServerMetrics
public class DefaultServerMetrics extends Object implements ServerMetrics
Stores the metrics in RAM.- Author:
- Luca Garulli ([email protected])
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.arcadedb.server.monitor.ServerMetrics
ServerMetrics.Meter
-
-
Field Summary
Fields Modifier and Type Field Description protected ConcurrentHashMap<String,ServerMetrics.Meter>
metricsRegistry
-
Constructor Summary
Constructors Constructor Description DefaultServerMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,ServerMetrics.Meter>
getMeters()
ServerMetrics.Meter
meter(String name)
void
stop()
-
-
-
Field Detail
-
metricsRegistry
protected ConcurrentHashMap<String,ServerMetrics.Meter> metricsRegistry
-
-
Method Detail
-
stop
public void stop()
- Specified by:
stop
in interfaceServerMetrics
-
meter
public ServerMetrics.Meter meter(String name)
- Specified by:
meter
in interfaceServerMetrics
-
getMeters
public Map<String,ServerMetrics.Meter> getMeters()
- Specified by:
getMeters
in interfaceServerMetrics
-
-