Package com.complexible.stardog.api

# Class NativeMemoryMonitor

java.lang.Object
com.complexible.stardog.api.NativeMemoryMonitor

public class NativeMemoryMonitor extends 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

  Modifier and Type
  Method
  Description
  `void`
  `registerMetrics(com.codahale.metrics.MetricRegistry theMetricRegistry)`
  `void`
  `reportCurrentUsage()`
  `void`
  `start()`
  `void`
  `stop()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### NativeMemoryMonitor

    public NativeMemoryMonitor(long primaryIntervalMillis, double theWarningMemUsageRatio)

  - ### NativeMemoryMonitor

    public NativeMemoryMonitor(long thePrimaryIntervalMillis, double theWarningMemUsageRatio, com.codahale.metrics.MetricRegistry theMetrics)

- ## Method Details

  - ### registerMetrics

    public void registerMetrics(com.codahale.metrics.MetricRegistry theMetricRegistry)

  - ### start

    public void start()

  - ### stop

    public void stop()

  - ### reportCurrentUsage

    public void reportCurrentUsage()