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

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy