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.String
DEFAULT_ERROR_FILENAME
Deprecated.protected static java.lang.String
DEFAULT_READINESS_DIRECTORY
Deprecated.protected static java.lang.String
DEFAULT_READINESS_FILENAME
Deprecated.protected static java.lang.String
ERROR_FILENAME_PROP
Deprecated.protected static java.lang.String
READINESS_DIRECTORY_PROP
Deprecated.protected static java.lang.String
READINESS_FILENAME_PROP
Deprecated.
-
Constructor Summary
Constructors Constructor Description FileReadinessProbe()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
removeReadinessProbe()
Deprecated.Remove the readiness probe (call at application init)void
setErrorProbe(java.lang.String message)
Deprecated.Set the error probe when the application is not correctly startedvoid
setReadinessProbe()
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.Exception
Deprecated.Description copied from interface:ReadinessProbeInterface
Remove the readiness probe (call at application init)- Specified by:
removeReadinessProbe
in interfaceReadinessProbeInterface
- Overrides:
removeReadinessProbe
in classAbstractBasicReadinessProbe
- Throws:
java.lang.Exception
- if the probe cannot be executed correctly
-
setReadinessProbe
public void setReadinessProbe() throws java.lang.Exception
Deprecated.Description copied from interface:ReadinessProbeInterface
Set the readiness probe when the application is correctly started- Specified by:
setReadinessProbe
in interfaceReadinessProbeInterface
- Overrides:
setReadinessProbe
in classAbstractBasicReadinessProbe
- Throws:
java.lang.Exception
- if the probe cannot be executed correctly
-
setErrorProbe
public void setErrorProbe(java.lang.String message) throws java.lang.Exception
Deprecated.Description copied from interface:ReadinessProbeInterface
Set the error probe when the application is not correctly started- Specified by:
setErrorProbe
in interfaceReadinessProbeInterface
- Overrides:
setErrorProbe
in classAbstractBasicReadinessProbe
- Parameters:
message
- an error message- Throws:
java.lang.Exception
- if the probe cannot be executed correctly
-
-