Package com.jalios.jcms.readiness
Class FileReadinessProbe
- java.lang.Object
-
- com.jalios.jcms.readiness.AbstractBasicReadinessProbe
-
- com.jalios.jcms.readiness.FileReadinessProbe
-
- All Implemented Interfaces:
ReadinessProbeInterface
@Deprecated public class FileReadinessProbe extends AbstractBasicReadinessProbe
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringDEFAULT_ERROR_FILENAMEDeprecated.protected static java.lang.StringDEFAULT_READINESS_DIRECTORYDeprecated.protected static java.lang.StringDEFAULT_READINESS_FILENAMEDeprecated.protected static java.lang.StringERROR_FILENAME_PROPDeprecated.protected static java.lang.StringREADINESS_DIRECTORY_PROPDeprecated.protected static java.lang.StringREADINESS_FILENAME_PROPDeprecated.
-
Constructor Summary
Constructors Constructor Description FileReadinessProbe()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
-
-
-
Field Detail
-
READINESS_DIRECTORY_PROP
protected static final java.lang.String READINESS_DIRECTORY_PROP
Deprecated.- See Also:
- Constant Field Values
-
READINESS_FILENAME_PROP
protected static final java.lang.String READINESS_FILENAME_PROP
Deprecated.- See Also:
- Constant Field Values
-
ERROR_FILENAME_PROP
protected static final java.lang.String ERROR_FILENAME_PROP
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_READINESS_DIRECTORY
protected static final java.lang.String DEFAULT_READINESS_DIRECTORY
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_READINESS_FILENAME
protected static final java.lang.String DEFAULT_READINESS_FILENAME
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_ERROR_FILENAME
protected static final java.lang.String DEFAULT_ERROR_FILENAME
Deprecated.- See Also:
- Constant Field Values
-
-
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- Overrides:
removeReadinessProbein classAbstractBasicReadinessProbe- 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- Overrides:
setReadinessProbein classAbstractBasicReadinessProbe- 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- Overrides:
setErrorProbein classAbstractBasicReadinessProbe- Parameters:
message- an error message- Throws:
java.lang.Exception- if the probe cannot be executed correctly
-
-