com.hivemq.spi.services.configuration.ValueChangedCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hivemq-spi Show documentation
Show all versions of hivemq-spi Show documentation
The Service Provider Interfaces for developing HiveMQ plugins.
package com.hivemq.spi.services.configuration;
/**
* A callback which is executed when a value for a configuration changes
* at runtime
*
* @author Christoph Schäbel
* @since 3.0
*/
public interface ValueChangedCallback {
/**
* This method gets executed when the valuef or a configuration changes
*
* @param newValue the new value
*/
void valueChanged(T newValue);
}