public abstract class AbstractBasicReadinessProbe extends java.lang.Object implements ReadinessProbeInterface
Constructor and Description |
---|
AbstractBasicReadinessProbe() |
Modifier and Type | Method and Description |
---|---|
void |
removeReadinessProbe()
Remove the readiness probe (call at application init)
|
void |
setErrorProbe(java.lang.String message)
Set the error probe when the application is not correctly started
|
void |
setReadinessProbe()
Set the readiness probe when the application is correctly started
|
public void removeReadinessProbe() throws java.lang.Exception
ReadinessProbeInterface
removeReadinessProbe
in interface ReadinessProbeInterface
java.lang.Exception
- if the probe cannot be executed correctlypublic void setReadinessProbe() throws java.lang.Exception
ReadinessProbeInterface
setReadinessProbe
in interface ReadinessProbeInterface
java.lang.Exception
- if the probe cannot be executed correctlypublic void setErrorProbe(java.lang.String message) throws java.lang.Exception
ReadinessProbeInterface
setErrorProbe
in interface ReadinessProbeInterface
message
- an error messagejava.lang.Exception
- if the probe cannot be executed correctlyCopyright © 2001-2019 Jalios SA. All Rights Reserved.