Interface SettableValue<T>

  • Type Parameters:
    T - the type of the value to be set.
    All Known Subinterfaces:
    PinotGauge<T>

    public interface SettableValue<T>
    SettableValue allows the value to be set to a value or provided by a value supplier.
    • Method Summary

      Modifier and Type Method Description
      void setValue​(T value)
      Sets the value.
      void setValueSupplier​(Supplier<T> valueSupplier)
      Sets the value supplier.
    • Method Detail

      • setValue

        void setValue​(T value)
        Sets the value.
        Parameters:
        value - the value to set.
      • setValueSupplier

        void setValueSupplier​(Supplier<T> valueSupplier)
        Sets the value supplier.
        Parameters:
        valueSupplier - the value supplier to set.