Package com.avanza.astrix.config
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 aDynamicPropertyinstance.- Author:
- Elias Lindholm (elilin)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpropertyChanged(T newValue)Invoked each time the value of aDynamicPropertyinstance changes.
-
-
-
Method Detail
-
propertyChanged
void propertyChanged(T newValue)
Invoked each time the value of aDynamicPropertyinstance changes. This method will be invoked on the same thread that changes the state of theDynamicProperty, typically some thread internal to aDynamicConfigSourceimplementation.
-
-