Interface ExtendedLongGauge
-
- All Superinterfaces:
LongGauge
- All Known Implementing Classes:
ExtendedDefaultMeter.NoopLongGauge,SdkLongGauge
public interface ExtendedLongGauge extends LongGauge
ExtendedLongGaugewith experimental APIs.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default booleanisEnabled()Returnstrueif the gauge is enabled.
-
-
-
Method Detail
-
isEnabled
default boolean isEnabled()
Returnstrueif the gauge is enabled.This allows callers to avoid unnecessary compute when nothing is consuming the data. Because the response is subject to change over the application, callers should call this before each call to
LongGauge.set(long),LongGauge.set(long, Attributes), orLongGauge.set(long, Attributes, Context).
-
-