java.lang.Object
org.odpi.openmetadata.adapters.connectors.apacheatlas.resource.properties.AtlasMetricsSystem

public class AtlasMetricsSystem extends Object
AtlasMetricsSystem describes the infrastructure that Apache Atlas is running on.
  • Constructor Details

    • AtlasMetricsSystem

      public AtlasMetricsSystem()
      Default constructor
    • AtlasMetricsSystem

      public AtlasMetricsSystem(AtlasMetricsSystem template)
      Copy/clone constructor.
      Parameters:
      template - object to copy
  • Method Details

    • getMemory

      public Map<String,Object> getMemory()
    • setMemory

      public void setMemory(Map<String,Object> memory)
      Return a map of different memory usage stats.
      Parameters:
      memory - map of metrics
    • getOs

      public Map<String,String> getOs()
      Return a map of properties about the operating system.
      Returns:
      map of metrics
    • setOs

      public void setOs(Map<String,String> os)
      Set up a map of properties about the operating system.
      Parameters:
      os - map of metrics
    • getRuntime

      public Map<String,String> getRuntime()
      Return a map of properties about the Java runtime.
      Returns:
      map of metrics
    • setRuntime

      public void setRuntime(Map<String,String> runtime)
      Set up a map of properties about the Java runtime.
      Parameters:
      runtime - map of metrics
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class Object
      Returns:
      int