@@ -276,7 +276,7 @@ private InstanceTelemetry registerTelemetryBean(InstanceTelemetry bean) {
276276
277277 try {
278278 mbs .registerMBean (bean ,instanceTelemetryBeanName );
279- log .debug ("Succesfully registered jmx bean for instance {} with ObjectName = {}" ,
279+ log .debug ("Successfully registered jmx bean for instance {} with ObjectName = {}" ,
280280 this .getName (), instanceTelemetryBeanName );
281281 } catch (InstanceAlreadyExistsException
282282 | MBeanRegistrationException
@@ -534,7 +534,7 @@ public List<Metric> getMetrics() throws IOException {
534534 return metrics ;
535535 }
536536
537- /** Returns whather or not the given period has elapsed since reference time. */
537+ /** Returns whether or not the given period has elapsed since reference time. */
538538 public boolean isPeriodDue (long refTime , Integer refPeriod ) {
539539 if ((System .currentTimeMillis () - refTime ) / 1000 < refPeriod ) {
540540 return false ;
@@ -543,7 +543,7 @@ public boolean isPeriodDue(long refTime, Integer refPeriod) {
543543 }
544544 }
545545
546- /** Returns whather or not its time to collect metrics for the instance. */
546+ /** Returns whether or not its time to collect metrics for the instance. */
547547 public boolean timeToCollect () {
548548 if (this .minCollectionPeriod == null ) {
549549 return true ;
@@ -870,7 +870,7 @@ public void cleanUp() {
870870 }
871871
872872 /**
873- * Asynchronoush cleanup of instance, including connection.
873+ * Asynchronous cleanup of instance, including connection.
874874 * */
875875 public synchronized void cleanUpAsync () {
876876 cleanupTelemetryBean ();
0 commit comments