Class DefaultMetricsLog
java.lang.Object
io.fluxzero.testserver.metrics.DefaultMetricsLog
- All Implemented Interfaces:
MetricsLog
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultMetricsLog(io.fluxzero.common.tracking.MessageStore store) DefaultMetricsLog(io.fluxzero.common.tracking.MessageStore store, ExecutorService workerPool) -
Method Summary
Modifier and TypeMethodDescriptionregisterMetrics(Object event, io.fluxzero.common.api.Metadata metadata) Registers a metrics event with the supplied metadata and returns its asynchronous completion or failure.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MetricsLog
registerMetrics
-
Constructor Details
-
DefaultMetricsLog
public DefaultMetricsLog(io.fluxzero.common.tracking.MessageStore store) -
DefaultMetricsLog
public DefaultMetricsLog(io.fluxzero.common.tracking.MessageStore store, ExecutorService workerPool)
-
-
Method Details
-
registerMetrics
public CompletableFuture<Void> registerMetrics(Object event, io.fluxzero.common.api.Metadata metadata) Description copied from interface:MetricsLogRegisters a metrics event with the supplied metadata and returns its asynchronous completion or failure.- Specified by:
registerMetricsin interfaceMetricsLog
-