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

public class AtlasMetricsGeneral extends Object
AtlasMetricsGeneral describes the high-level metrics of the system.
  • Constructor Details

    • AtlasMetricsGeneral

      public AtlasMetricsGeneral()
      Default constructor
    • AtlasMetricsGeneral

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

    • getCollectionTime

      public Date getCollectionTime()
      Return the date/time that the stats were extracted.
      Returns:
      date
    • setCollectionTime

      public void setCollectionTime(Date collectionTime)
      Set up the date/time that the stats were extracted.
      Parameters:
      collectionTime - date
    • getEntityCount

      public int getEntityCount()
      Return the count of entity instances in the Apache Atlas repository.
      Returns:
      int
    • setEntityCount

      public void setEntityCount(int entityCount)
      Set up the count of entity instances in the Apache Atlas repository.
      Parameters:
      entityCount - int
    • getStats

      public Map<String,Object> getStats()
      Return a map of the different statistics defined for the system.
      Returns:
      map
    • setStats

      public void setStats(Map<String,Object> stats)
      Set up a map of the different statistics defined for the system.
      Parameters:
      stats - map
    • getTagCount

      public int getTagCount()
      Return the count of classifications found in the repository.
      Returns:
      int
    • setTagCount

      public void setTagCount(int tagCount)
      Set up the count of classifications found in the repository.
      Parameters:
      tagCount - int
    • getTypeUnusedCount

      public int getTypeUnusedCount()
      Return the number of types that are not used.
      Returns:
      int
    • setTypeUnusedCount

      public void setTypeUnusedCount(int typeUnusedCount)
      Set up the number of types that are not used.
      Parameters:
      typeUnusedCount - int
    • getTypeCount

      public int getTypeCount()
      Return the number of types defined.
      Returns:
      int
    • setTypeCount

      public void setTypeCount(int typeCount)
      Set up the number of types defined.
      Parameters:
      typeCount - int
    • 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