Class MetricsSnapshotsSupplierTaskImpl
- java.lang.Object
-
- com.github.akurilov.commons.concurrent.AsyncRunnableBase
-
- com.github.akurilov.fiber4j.FiberBase
-
- com.github.akurilov.fiber4j.ExclusiveFiberBase
-
- com.emc.mongoose.base.load.step.client.metrics.MetricsSnapshotsSupplierTaskImpl
-
- All Implemented Interfaces:
MetricsSnapshotsSupplierTask,com.github.akurilov.commons.concurrent.AsyncRunnable,com.github.akurilov.fiber4j.Fiber,java.rmi.Remote,java.util.function.Supplier<java.util.List<? extends AllMetricsSnapshot>>
public final class MetricsSnapshotsSupplierTaskImpl extends com.github.akurilov.fiber4j.ExclusiveFiberBase implements MetricsSnapshotsSupplierTask
-
-
Constructor Summary
Constructors Constructor Description MetricsSnapshotsSupplierTaskImpl(LoadStep loadStep, com.github.akurilov.confuse.Config metricsConfig)MetricsSnapshotsSupplierTaskImpl(com.github.akurilov.fiber4j.FibersExecutor executor, LoadStep loadStep)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoClose()java.util.List<? extends AllMetricsSnapshot>get()protected voidinvokeTimedExclusively(long startTimeNanos)-
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
-
-
-
-
Constructor Detail
-
MetricsSnapshotsSupplierTaskImpl
public MetricsSnapshotsSupplierTaskImpl(LoadStep loadStep, com.github.akurilov.confuse.Config metricsConfig)
-
MetricsSnapshotsSupplierTaskImpl
public MetricsSnapshotsSupplierTaskImpl(com.github.akurilov.fiber4j.FibersExecutor executor, LoadStep loadStep)
-
-
Method Detail
-
invokeTimedExclusively
protected final void invokeTimedExclusively(long startTimeNanos)
- Specified by:
invokeTimedExclusivelyin classcom.github.akurilov.fiber4j.ExclusiveFiberBase
-
get
public final java.util.List<? extends AllMetricsSnapshot> get()
- Specified by:
getin interfaceMetricsSnapshotsSupplierTask- Specified by:
getin interfacejava.util.function.Supplier<java.util.List<? extends AllMetricsSnapshot>>
-
doClose
protected final void doClose()
- Overrides:
doClosein classcom.github.akurilov.commons.concurrent.AsyncRunnableBase
-
-