Package com.algolia.model.monitoring
Class InfrastructureResponseMetrics
java.lang.Object
com.algolia.model.monitoring.InfrastructureResponseMetrics
InfrastructureResponseMetrics
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Average build time of the indices in seconds.CPU idleness in %.RAM used for indexing in MB.RAM used for search in MB.Solid-state disk (SSD) usage expressed as % of RAM.int
hashCode()
putAvgBuildTime
(String key, List<ProbesMetric> avgBuildTimeItem) putCpuUsage
(String key, List<ProbesMetric> cpuUsageItem) putRamIndexingUsage
(String key, List<ProbesMetric> ramIndexingUsageItem) putRamSearchUsage
(String key, List<ProbesMetric> ramSearchUsageItem) putSsdUsage
(String key, List<ProbesMetric> ssdUsageItem) setAvgBuildTime
(Map<String, List<ProbesMetric>> avgBuildTime) setCpuUsage
(Map<String, List<ProbesMetric>> cpuUsage) setRamIndexingUsage
(Map<String, List<ProbesMetric>> ramIndexingUsage) setRamSearchUsage
(Map<String, List<ProbesMetric>> ramSearchUsage) setSsdUsage
(Map<String, List<ProbesMetric>> ssdUsage) toString()
-
Constructor Details
-
InfrastructureResponseMetrics
public InfrastructureResponseMetrics()
-
-
Method Details
-
setCpuUsage
-
putCpuUsage
-
getCpuUsage
CPU idleness in %. -
setRamIndexingUsage
public InfrastructureResponseMetrics setRamIndexingUsage(Map<String, List<ProbesMetric>> ramIndexingUsage) -
putRamIndexingUsage
public InfrastructureResponseMetrics putRamIndexingUsage(String key, List<ProbesMetric> ramIndexingUsageItem) -
getRamIndexingUsage
RAM used for indexing in MB. -
setRamSearchUsage
public InfrastructureResponseMetrics setRamSearchUsage(Map<String, List<ProbesMetric>> ramSearchUsage) -
putRamSearchUsage
public InfrastructureResponseMetrics putRamSearchUsage(String key, List<ProbesMetric> ramSearchUsageItem) -
getRamSearchUsage
RAM used for search in MB. -
setSsdUsage
-
putSsdUsage
-
getSsdUsage
Solid-state disk (SSD) usage expressed as % of RAM. 0% means no SSD usage. A value of 50% indicates 32 GB SSD usage for a machine with 64 RAM. -
setAvgBuildTime
-
putAvgBuildTime
public InfrastructureResponseMetrics putAvgBuildTime(String key, List<ProbesMetric> avgBuildTimeItem) -
getAvgBuildTime
Average build time of the indices in seconds. -
equals
-
hashCode
public int hashCode() -
toString
-