Package ai.platon.pulsar.common.metrics
Class EnumCounterReporter
-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public final class EnumCounterReporter extends GracefulScheduledExecutor
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanautoCloseprivate final ScheduledExecutorServiceexecutorprivate DurationinitialDelayprivate Durationintervalprivate final BooleanisClosed
-
Constructor Summary
Constructors Constructor Description EnumCounterReporter(EnumCounterRegistry counter, Duration initialDelay, Duration watchInterval, ImmutableConfig conf)
-
Method Summary
-
Methods inherited from class ai.platon.pulsar.common.concurrent.GracefulScheduledExecutor
close, getAutoClose, getExecutor, getInitialDelay, getInterval, isClosed, setInitialDelay, setInterval, start, start, start, start, start, start -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-