Package com.complexible.stardog.api
Class NativeMemoryMonitor
- java.lang.Object
-
- com.complexible.stardog.api.NativeMemoryMonitor
-
public class NativeMemoryMonitor extends java.lang.Object
Monitors memory usage as reported by the underlying Operating System.- Since:
- $Mastiff
- Author:
- Scott Fines
-
-
Constructor Summary
Constructors Constructor Description NativeMemoryMonitor(long primaryIntervalMillis, double theWarningMemUsageRatio)
NativeMemoryMonitor(long thePrimaryIntervalMillis, double theWarningMemUsageRatio, com.codahale.metrics.MetricRegistry theMetrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerMetrics(com.codahale.metrics.MetricRegistry theMetricRegistry)
void
reportCurrentUsage()
void
start()
void
stop()
-