Package com.jalios.jcms.readiness
Class AbstractBasicReadinessProbe
- java.lang.Object
-
- com.jalios.jcms.readiness.AbstractBasicReadinessProbe
-
- All Implemented Interfaces:
ReadinessProbeInterface
- Direct Known Subclasses:
FileReadinessProbe
@Deprecated public abstract class AbstractBasicReadinessProbe extends java.lang.Object implements ReadinessProbeInterface
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description AbstractBasicReadinessProbe()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidremoveReadinessProbe()Deprecated.Remove the readiness probe (call at application init)voidsetErrorProbe(java.lang.String message)Deprecated.Set the error probe when the application is not correctly startedvoidsetReadinessProbe()Deprecated.Set the readiness probe when the application is correctly started
-
-
-
Method Detail
-
removeReadinessProbe
public void removeReadinessProbe() throws java.lang.ExceptionDeprecated.Description copied from interface:ReadinessProbeInterfaceRemove the readiness probe (call at application init)- Specified by:
removeReadinessProbein interfaceReadinessProbeInterface- Throws:
java.lang.Exception- if the probe cannot be executed correctly
-
setReadinessProbe
public void setReadinessProbe() throws java.lang.ExceptionDeprecated.Description copied from interface:ReadinessProbeInterfaceSet the readiness probe when the application is correctly started- Specified by:
setReadinessProbein interfaceReadinessProbeInterface- Throws:
java.lang.Exception- if the probe cannot be executed correctly
-
setErrorProbe
public void setErrorProbe(java.lang.String message) throws java.lang.ExceptionDeprecated.Description copied from interface:ReadinessProbeInterfaceSet the error probe when the application is not correctly started- Specified by:
setErrorProbein interfaceReadinessProbeInterface- Parameters:
message- an error message- Throws:
java.lang.Exception- if the probe cannot be executed correctly
-
-