ru.yandex.qatools.camelot.common.ReloadableService Maven / Gradle / Ivy
package ru.yandex.qatools.camelot.common;
/**
* @author Ilya Sadykov (mailto: [email protected])
*/
public interface ReloadableService {
/**
* Initialize service
*/
void init();
/**
* Reload state and start service classes
*/
void reloadAndStart();
/**
* Stop service classes, reload and start them again
*/
void reload();
/**
* Stop service classes
*/
void stop();
/**
* Indicates that service is currently reloading its context
*/
boolean isLoading();
}