All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.icthh.xm.commons.config.client.api.RefreshableConfiguration Maven / Gradle / Ivy

There is a newer version: 4.0.12
Show newest version
package com.icthh.xm.commons.config.client.api;

import java.util.Collection;

public interface RefreshableConfiguration {

    void onRefresh(String updatedKey, String config);

    boolean isListeningConfiguration(String updatedKey);

    default void onInit(String configKey, String configValue) {
        onRefresh(configKey, configValue);
    }

    default void refreshFinished(Collection paths) {
        //
    }

    default void refreshableConfigurationInited() {
        //
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy