public interface MetricsPublisher
Modifier and Type | Method and Description |
---|---|
String |
name()
Name of the publisher, only used for debugging purposes.
|
void |
publishDouble(String name,
double value,
Set<MetricTarget> excludedTargets)
Publish the given metric with a double value.
|
void |
publishLong(String name,
long value,
Set<MetricTarget> excludedTargets)
Publish the given metric with a long value.
|
default void |
shutdown()
Perform any necessary cleanup before shutdown.
|
default void |
whenComplete()
Callback is called after all metrics are published for a given
metric collection round.
|
void publishLong(String name, long value, Set<MetricTarget> excludedTargets)
void publishDouble(String name, double value, Set<MetricTarget> excludedTargets)
default void whenComplete()
default void shutdown()
String name()
Copyright © 2019 Hazelcast, Inc.. All rights reserved.