public class FileReadinessProbe extends AbstractBasicReadinessProbe
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DEFAULT_ERROR_FILENAME |
protected static java.lang.String |
DEFAULT_READINESS_DIRECTORY |
protected static java.lang.String |
DEFAULT_READINESS_FILENAME |
protected static java.lang.String |
ERROR_FILENAME_PROP |
protected static java.lang.String |
READINESS_DIRECTORY_PROP |
protected static java.lang.String |
READINESS_FILENAME_PROP |
| Constructor and Description |
|---|
FileReadinessProbe() |
| Modifier and Type | Method and 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 started
|
void |
setReadinessProbe()
Set the readiness probe when the application is correctly started
|
protected static final java.lang.String READINESS_DIRECTORY_PROP
protected static final java.lang.String READINESS_FILENAME_PROP
protected static final java.lang.String ERROR_FILENAME_PROP
protected static final java.lang.String DEFAULT_READINESS_DIRECTORY
protected static final java.lang.String DEFAULT_READINESS_FILENAME
protected static final java.lang.String DEFAULT_ERROR_FILENAME
public void removeReadinessProbe()
throws java.lang.Exception
ReadinessProbeInterfaceremoveReadinessProbe in interface ReadinessProbeInterfaceremoveReadinessProbe in class AbstractBasicReadinessProbejava.lang.Exception - if the probe cannot be executed correctlypublic void setReadinessProbe()
throws java.lang.Exception
ReadinessProbeInterfacesetReadinessProbe in interface ReadinessProbeInterfacesetReadinessProbe in class AbstractBasicReadinessProbejava.lang.Exception - if the probe cannot be executed correctlypublic void setErrorProbe(java.lang.String message)
throws java.lang.Exception
ReadinessProbeInterfacesetErrorProbe in interface ReadinessProbeInterfacesetErrorProbe in class AbstractBasicReadinessProbemessage - an error messagejava.lang.Exception - if the probe cannot be executed correctlyCopyright © 2001-2021 Jalios SA. All Rights Reserved.