Class MetricsManagerImpl

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

    public class MetricsManagerImpl
    extends com.github.akurilov.fiber4j.ExclusiveFiberBase
    implements MetricsManager
    Created by kurila on 18.05.17.
    • Nested Class Summary

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

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

      • Fields inherited from interface com.github.akurilov.fiber4j.Fiber

        DEBUG_DURATION_LIMIT_NANOS, SOFT_DURATION_LIMIT_NANOS, WARN_DURATION_LIMIT_NANOS
    • Constructor Summary

      Constructors 
      Constructor Description
      MetricsManagerImpl​(com.github.akurilov.fiber4j.FibersExecutor instance)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doClose()  
      protected void invokeTimedExclusively​(long startTimeNanos)  
      void register​(MetricsContext metricsCtx)  
      void unregister​(MetricsContext metricsCtx)  
      • Methods inherited from class com.github.akurilov.fiber4j.ExclusiveFiberBase

        invokeTimed
      • Methods inherited from class com.github.akurilov.fiber4j.FiberBase

        doStart, doStop, invoke
      • 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
      • Methods inherited from interface com.github.akurilov.fiber4j.Fiber

        invoke
    • Constructor Detail

      • MetricsManagerImpl

        public MetricsManagerImpl​(com.github.akurilov.fiber4j.FibersExecutor instance)
    • Method Detail

      • invokeTimedExclusively

        protected final void invokeTimedExclusively​(long startTimeNanos)
        Specified by:
        invokeTimedExclusively in class com.github.akurilov.fiber4j.ExclusiveFiberBase
      • doClose

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