Class MetricsAggregatorImpl

  • All Implemented Interfaces:
    MetricsAggregator, com.github.akurilov.commons.concurrent.AsyncRunnable, java.rmi.Remote

    public final class MetricsAggregatorImpl
    extends com.github.akurilov.commons.concurrent.AsyncRunnableBase
    implements MetricsAggregator
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.github.akurilov.commons.concurrent.AsyncRunnable

        com.github.akurilov.commons.concurrent.AsyncRunnable.State
    • Constructor Summary

      Constructors 
      Constructor Description
      MetricsAggregatorImpl​(java.lang.String loadStepId, java.util.List<LoadStep> stepSlices, com.github.akurilov.confuse.Config metricsConfig)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doClose()  
      protected void doStart()  
      protected void doStop()  
      java.util.List<AllMetricsSnapshot> metricsSnapshotsByIndex​(int originIndex)  
      • Methods inherited from class com.github.akurilov.commons.concurrent.AsyncRunnableBase

        await, await, close, doShutdown, isClosed, isInitial, isShutdown, isStarted, isStopped, shutdown, start, state, stop
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.github.akurilov.commons.concurrent.AsyncRunnable

        await, await, close, isClosed, isInitial, isShutdown, isStarted, isStopped, shutdown, start, state, stop
    • Constructor Detail

      • MetricsAggregatorImpl

        public MetricsAggregatorImpl​(java.lang.String loadStepId,
                                     java.util.List<LoadStep> stepSlices,
                                     com.github.akurilov.confuse.Config metricsConfig)
    • Method Detail

      • doStart

        protected final void doStart()
        Overrides:
        doStart in class com.github.akurilov.commons.concurrent.AsyncRunnableBase
      • doStop

        protected final void doStop()
        Overrides:
        doStop in class com.github.akurilov.commons.concurrent.AsyncRunnableBase
      • doClose

        protected final void doClose()
        Overrides:
        doClose in class com.github.akurilov.commons.concurrent.AsyncRunnableBase