org.zodiac.actuate.health.checker.HealthCheckerInfo Maven / Gradle / Ivy
The newest version!
package org.zodiac.actuate.health.checker;
import org.zodiac.commons.constants.Constants;
public class HealthCheckerInfo {
private int defaultTimeout = Constants.Zodiac.HEALTH_CHECKER_DEFAULT_TIMEOUT_VALUE;
private boolean retry = true;
public int getDefaultTimeout() {
return defaultTimeout;
}
public HealthCheckerInfo setDefaultTimeout(int defaultTimeout) {
this.defaultTimeout = defaultTimeout;
return this;
}
public boolean isRetry() {
return retry;
}
public void setRetry(boolean retry) {
this.retry = retry;
}
}