Interface DynamicPropertyListener<T>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface DynamicPropertyListener<T>
    Listener interface for subscribing to a DynamicProperty instance.

    Author:
    Elias Lindholm (elilin)
    • Method Detail

      • propertyChanged

        void propertyChanged​(T newValue)
        Invoked each time the value of a DynamicProperty instance changes. This method will be invoked on the same thread that changes the state of the DynamicProperty, typically some thread internal to a DynamicConfigSource implementation.