Interface SystemPropertiesListener

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 SystemPropertiesListener
Provides a listener that can react to SystemPropertyRecord changes. Use this and register it in the SystemPropertiesManager instead of adding a record listener to SystemPropertiesRecord directly.
  • Method Details

    • onSystemPropertiesChanged

      void onSystemPropertiesChanged(SystemPropertiesManager.PropertyMap gatewayProps)
      Override to implement the listener. All updated system properties will be present in the read-only map. Just retrieve the property that you are interested in (see GatewaySystemProperties for all properties).