Package com.emc.mongoose.base.metrics
Class MetricsManagerImpl
- java.lang.Object
-
- com.github.akurilov.commons.concurrent.AsyncRunnableBase
-
- com.github.akurilov.fiber4j.FiberBase
-
- com.github.akurilov.fiber4j.ExclusiveFiberBase
-
- com.emc.mongoose.base.metrics.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.
-
-
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 voiddoClose()protected voidinvokeTimedExclusively(long startTimeNanos)voidregister(MetricsContext metricsCtx)voidunregister(MetricsContext metricsCtx)-
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
-
-
-
-
Method Detail
-
invokeTimedExclusively
protected final void invokeTimedExclusively(long startTimeNanos)
- Specified by:
invokeTimedExclusivelyin classcom.github.akurilov.fiber4j.ExclusiveFiberBase
-
register
public void register(MetricsContext metricsCtx)
- Specified by:
registerin interfaceMetricsManager
-
unregister
public void unregister(MetricsContext metricsCtx)
- Specified by:
unregisterin interfaceMetricsManager
-
doClose
protected final void doClose()
- Overrides:
doClosein classcom.github.akurilov.commons.concurrent.AsyncRunnableBase
-
-