net.anotheria.moskito.extensions.monitoring.fetcher.StatusFetcher Maven / Gradle / Ivy
package net.anotheria.moskito.extensions.monitoring.fetcher;
import net.anotheria.moskito.extensions.monitoring.config.MonitoredInstance;
/**
* Interface that represents entity that fetches needed data from {@link MonitoredInstance}.
*
* @param type of result.
* @author dzhmud
*/
public interface StatusFetcher {
/**
* Fetch current status for the instance.
* @param instance {@link MonitoredInstance} to fetch status from.
* @return retrieved status.
*/
T fetchStatus(MonitoredInstance instance);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy