Package com.jalios.jcms.readiness
Class AbstractBasicReadinessProbe
- java.lang.Object
-
- com.jalios.jcms.readiness.AbstractBasicReadinessProbe
-
- All Implemented Interfaces:
ReadinessProbeInterface
- Direct Known Subclasses:
FileReadinessProbe
public abstract class AbstractBasicReadinessProbe extends java.lang.Object implements ReadinessProbeInterface
-
-
Constructor Summary
Constructors Constructor Description AbstractBasicReadinessProbe()
-
Method Summary
All Methods Instance Methods Concrete 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
public void removeReadinessProbe() throws java.lang.Exception
Description copied from interface:ReadinessProbeInterface
Remove the readiness probe (call at application init)- Specified by:
removeReadinessProbe
in interfaceReadinessProbeInterface
- Throws:
java.lang.Exception
- if the probe cannot be executed correctly
-
setReadinessProbe
public void setReadinessProbe() throws java.lang.Exception
Description copied from interface:ReadinessProbeInterface
Set the readiness probe when the application is correctly started- Specified by:
setReadinessProbe
in interfaceReadinessProbeInterface
- Throws:
java.lang.Exception
- if the probe cannot be executed correctly
-
setErrorProbe
public void setErrorProbe(java.lang.String message) throws java.lang.Exception
Description copied from interface:ReadinessProbeInterface
Set the error probe when the application is not correctly started- Specified by:
setErrorProbe
in interfaceReadinessProbeInterface
- Parameters:
message
- an error message- Throws:
java.lang.Exception
- if the probe cannot be executed correctly
-
-