Class GaugeMemoryToPublisherConveyor
java.lang.Object
io.datarouter.conveyor.BaseConveyor
io.datarouter.metric.gauge.conveyor.GaugeMemoryToPublisherConveyor
- All Implemented Interfaces:
io.datarouter.conveyor.ConveyorRunnable,Comparable<io.datarouter.conveyor.ConveyorRunnable>,Runnable
public class GaugeMemoryToPublisherConveyor
extends io.datarouter.conveyor.BaseConveyor
-
Nested Class Summary
Nested classes/interfaces inherited from class io.datarouter.conveyor.BaseConveyor
io.datarouter.conveyor.BaseConveyor.ProcessBatchResult -
Field Summary
Fields inherited from class io.datarouter.conveyor.BaseConveyor
exceptionRecorder, gaugeRecorder, name -
Constructor Summary
ConstructorsConstructorDescriptionGaugeMemoryToPublisherConveyor(String name, Supplier<Boolean> shouldRun, io.datarouter.conveyor.MemoryBuffer<io.datarouter.instrumentation.gauge.GaugeDto> buffer, io.datarouter.web.exception.ExceptionRecorder exceptionRecorder, io.datarouter.instrumentation.gauge.GaugePublisher gaugePublisher, io.datarouter.conveyor.ConveyorGauges conveyorGauges) -
Method Summary
Modifier and TypeMethodDescriptionio.datarouter.conveyor.BaseConveyor.ProcessBatchResultbooleanMethods inherited from class io.datarouter.conveyor.BaseConveyor
getName, interrupted, isShuttingDown, run, setIsShuttingDown, shouldRunMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.conveyor.ConveyorRunnable
compareTo
-
Constructor Details
-
GaugeMemoryToPublisherConveyor
public GaugeMemoryToPublisherConveyor(String name, Supplier<Boolean> shouldRun, io.datarouter.conveyor.MemoryBuffer<io.datarouter.instrumentation.gauge.GaugeDto> buffer, io.datarouter.web.exception.ExceptionRecorder exceptionRecorder, io.datarouter.instrumentation.gauge.GaugePublisher gaugePublisher, io.datarouter.conveyor.ConveyorGauges conveyorGauges)
-
-
Method Details
-
processBatch
public io.datarouter.conveyor.BaseConveyor.ProcessBatchResult processBatch()- Specified by:
processBatchin classio.datarouter.conveyor.BaseConveyor
-
shouldRunOnShutdown
public boolean shouldRunOnShutdown()
-