grpcstarter.server.feature.health.HealthChecker Maven / Gradle / Ivy
package grpcstarter.server.feature.health;
/**
* @author Freeman
*/
public interface HealthChecker {
/**
* Get the service name.
*
* @return the service name
*/
String service();
/**
* Check the service status.
*
* @return true if the service is healthy
*/
boolean check();
}