Class OrientDBServerResourcesMetrics

java.lang.Object
com.orientechnologies.agent.services.metrics.server.resources.OrientDBServerResourcesMetrics
All Implemented Interfaces:
OrientDBMetric

public class OrientDBServerResourcesMetrics extends Object implements OrientDBMetric
Created by Enrico Risa on 19/07/2018.
  • Constructor Details

  • Method Details

    • start

      public void start()
      Specified by:
      start in interface OrientDBMetric
    • getDiskCacheTotal

      protected long getDiskCacheTotal()
    • getDiskTotal

      protected long getDiskTotal()
    • getDiskFree

      protected long getDiskFree()
    • getDiskUsable

      protected long getDiskUsable()
    • getDiskCacheUsed

      public long getDiskCacheUsed()
    • stop

      public void stop()
      Specified by:
      stop in interface OrientDBMetric
    • cpuUsage

      public double cpuUsage()