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

public class AtlasMetricsData extends Object
AtlasMetricsData returns information about a running Apache Atlas.
  • Constructor Details

    • AtlasMetricsData

      public AtlasMetricsData()
      Default constructor.
    • AtlasMetricsData

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

    • getGeneral

      public AtlasMetricsGeneral getGeneral()
      Return summary metrics about the metadata stored in the repository.
      Returns:
      general metrics
    • setGeneral

      public void setGeneral(AtlasMetricsGeneral general)
      Set up summary metrics about the metadata stored in the repository.
      Parameters:
      general - general metrics
    • getSystem

      public AtlasMetricsSystem getSystem()
      Return metrics relating to the IT infrastructure supporting Apache Atlas - such as memory, os and Java level.
      Returns:
      system metrics
    • setSystem

      public void setSystem(AtlasMetricsSystem system)
      Set up metrics relating to the IT infrastructure supporting Apache Atlas - such as memory, os and Java level.
      Parameters:
      system - system metrics
    • getTag

      public AtlasMetricsTag getTag()
      Return details of the classifications in use in the Apache Atlas system.
      Returns:
      tag metrics
    • setTag

      public void setTag(AtlasMetricsTag tag)
      Set up details of the classifications in use in the Apache Atlas system.
      Parameters:
      tag - tag metrics
    • getEntity

      public Map<String,Map<String,Integer>> getEntity()
      Return details of the entities in the Apache Atlas metadata repository. The name of the properties are not legal names in Java which is why it is represented as a map. It has 6 members in the outer map:
      • "entityActive"
      • "entityDeleted"
      • "entityActive-typeAndSubTypes"
      • "entityDeleted-typeAndSubTypes"
      • "entityShell"
      • "entityShell-typeAndSubTypes"
      The inner maps are entityTypeName to number of instances.
      Returns:
      nested map
    • setEntity

      public void setEntity(Map<String,Map<String,Integer>> entity)
      Set up the map of metrics about entities.
      Parameters:
      entity - nested map
    • 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