Class Probe
java.lang.Object
io.strimzi.api.kafka.model.common.Probe
- All Implemented Interfaces:
UnknownPropertyPreserving
A representation of the configurable aspect of a probe (used for health checks).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoidsetAdditionalProperty(String name, Object value) voidsetFailureThreshold(Integer failureThreshold) voidsetInitialDelaySeconds(int initialDelaySeconds) voidsetPeriodSeconds(Integer periodSeconds) voidsetSuccessThreshold(Integer successThreshold) voidsetTimeoutSeconds(int timeoutSeconds)
-
Constructor Details
-
Probe
public Probe() -
Probe
public Probe(int initialDelaySeconds, int timeoutSeconds)
-
-
Method Details
-
getInitialDelaySeconds
public int getInitialDelaySeconds() -
setInitialDelaySeconds
public void setInitialDelaySeconds(int initialDelaySeconds) -
getTimeoutSeconds
public int getTimeoutSeconds() -
setTimeoutSeconds
public void setTimeoutSeconds(int timeoutSeconds) -
getPeriodSeconds
-
setPeriodSeconds
-
getSuccessThreshold
-
setSuccessThreshold
-
getFailureThreshold
-
setFailureThreshold
-
getAdditionalProperties
- Specified by:
getAdditionalPropertiesin interfaceUnknownPropertyPreserving
-
setAdditionalProperty
- Specified by:
setAdditionalPropertyin interfaceUnknownPropertyPreserving
-