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 voidremoveReadinessProbe()Remove the readiness probe (call at application init)voidsetErrorProbe(java.lang.String message)Set the error probe when the application is not correctly startedvoidsetReadinessProbe()Set the readiness probe when the application is correctly started
-
-
-
Method Detail
-
removeReadinessProbe
void removeReadinessProbe() throws java.lang.ExceptionRemove the readiness probe (call at application init)- Throws:
java.lang.Exception- if the probe cannot be executed correctly
-
setReadinessProbe
void setReadinessProbe() throws java.lang.ExceptionSet 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.ExceptionSet 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
-
-