Class AtlasMetricsSystem
java.lang.Object
org.odpi.openmetadata.adapters.connectors.apacheatlas.resource.properties.AtlasMetricsSystem
AtlasMetricsSystem describes the infrastructure that Apache Atlas is running on.
-
Constructor Summary
ConstructorDescriptionDefault constructorAtlasMetricsSystem
(AtlasMetricsSystem template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.getOs()
Return a map of properties about the operating system.Return a map of properties about the Java runtime.int
hashCode()
Hash of propertiesvoid
Return a map of different memory usage stats.void
Set up a map of properties about the operating system.void
setRuntime
(Map<String, String> runtime) Set up a map of properties about the Java runtime.toString()
Standard toString method.
-
Constructor Details
-
AtlasMetricsSystem
public AtlasMetricsSystem()Default constructor -
AtlasMetricsSystem
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getMemory
-
setMemory
Return a map of different memory usage stats.- Parameters:
memory
- map of metrics
-
getOs
Return a map of properties about the operating system.- Returns:
- map of metrics
-
setOs
Set up a map of properties about the operating system.- Parameters:
os
- map of metrics
-
getRuntime
Return a map of properties about the Java runtime.- Returns:
- map of metrics
-
setRuntime
Set up a map of properties about the Java runtime.- Parameters:
runtime
- map of metrics
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Hash of properties
-