diff --git a/ambari-server/src/main/java/org/apache/ambari/server/state/services/MetricsRetrievalService.java b/ambari-server/src/main/java/org/apache/ambari/server/state/services/MetricsRetrievalService.java index 510e7067f78..7ba2e1a1331 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/state/services/MetricsRetrievalService.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/state/services/MetricsRetrievalService.java @@ -59,7 +59,7 @@ * The {@link MetricsRetrievalService} is used as a headless, autonomous service * which encapsulates: * @@ -270,7 +270,7 @@ protected void doStop() { * {@link #getCachedRESTMetric(String)}, depending on the type of metric * requested. *

- * Callers need not worry about invoking this mulitple times for the same URL + * Callers need not worry about invoking this multiple times for the same URL * endpoint. A single endpoint will only be enqueued once regardless of how * many times this method is called until it has been fully retrieved and * parsed. If the last endpoint request was too recent, then this method will @@ -349,7 +349,7 @@ public JMXMetricHolder getCachedJMXMetric(String jmxUrl) { * Gets a cached REST metric in the form of a {@link Map}. If there is no * metric data cached for the given URL, then {@code null} is returned. *

- * The onky way this cache is populated is by requesting the data to be loaded + * The only way this cache is populated is by requesting the data to be loaded * asynchronously via * {@link #submitRequest(MetricSourceType, StreamProvider, String)} with the * {@link MetricSourceType#REST} type. @@ -363,7 +363,7 @@ public Map getCachedRESTMetric(String restUrl) { } /** - * Encapsulates the common logic for all metric {@link Runnable} instnaces. + * Encapsulates the common logic for all metric {@link Runnable} instances. */ private static abstract class MetricRunnable implements Runnable {