Package com.jalios.jcms.readiness
Interface ReadinessProbeInterface
-
- All Known Implementing Classes:
AbstractBasicReadinessProbe
,FileReadinessProbe
public interface ReadinessProbeInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 startedvoid
setReadinessProbe()
Set the readiness probe when the application is correctly started
-
-
-
Method Detail
-
removeReadinessProbe
void removeReadinessProbe() throws java.lang.Exception
Remove the readiness probe (call at application init)- Throws:
java.lang.Exception
- if the probe cannot be executed correctly
-
setReadinessProbe
void setReadinessProbe() throws java.lang.Exception
Set the readiness probe when the application is correctly started- Throws:
java.lang.Exception
- if the probe cannot be executed correctly
-
setErrorProbe
void setErrorProbe(java.lang.String message) throws java.lang.Exception
Set the error probe when the application is not correctly started- Parameters:
message
- an error message- Throws:
java.lang.Exception
- if the probe cannot be executed correctly
-
-