Interface LongGaugeBuilder

All Superinterfaces:
InstrumentBuilder<LongGauge>

public interface LongGaugeBuilder extends InstrumentBuilder<LongGauge>
The LongGaugeBuilder interface is used to construct instances of LongGauge. This interface extends InstrumentBuilder with a generic type of LongGauge. It provides a method to supply the value of the gauge using a Supplier.
  • Method Details

    • withValueSupplier

      LongGaugeBuilder withValueSupplier(Supplier<Long> valueSupplier)
      Specifies the supplier that provides the current value of the gauge.
      Parameters:
      valueSupplier - a Supplier of Long that supplies the value for the gauge.
      Returns:
      the current instance of LongGaugeBuilder for method chaining.