Class FileStateNotifier
- java.lang.Object
-
- com.jalios.jcms.exploitation.state.FileStateNotifier
-
- All Implemented Interfaces:
StateNotifier
public class FileStateNotifier extends java.lang.Object implements StateNotifier
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
DEFAULT_ERROR_FILENAME
protected static java.lang.String
DEFAULT_LIVENESS_FILENAME
protected static java.lang.String
DEFAULT_PROBES_DIRECTORY
protected static java.lang.String
DEFAULT_READINESS_FILENAME
protected static java.lang.String
ERROR_FILENAME_PROP
protected static java.lang.String
LIVENESS_FILENAME_PROP
protected static java.lang.String
PROBES_DIRECTORY_PROP
protected static java.lang.String
READINESS_FILENAME_PROP
-
Constructor Summary
Constructors Constructor Description FileStateNotifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
void
notify(StateManager.JPlatformState state, java.lang.String message)
boolean
notifyUnchangedState()
void
shutdown()
-
-
-
Field Detail
-
PROBES_DIRECTORY_PROP
protected static final java.lang.String PROBES_DIRECTORY_PROP
- See Also:
- Constant Field Values
-
READINESS_FILENAME_PROP
protected static final java.lang.String READINESS_FILENAME_PROP
- See Also:
- Constant Field Values
-
ERROR_FILENAME_PROP
protected static final java.lang.String ERROR_FILENAME_PROP
- See Also:
- Constant Field Values
-
LIVENESS_FILENAME_PROP
protected static final java.lang.String LIVENESS_FILENAME_PROP
- See Also:
- Constant Field Values
-
DEFAULT_PROBES_DIRECTORY
protected static final java.lang.String DEFAULT_PROBES_DIRECTORY
- See Also:
- Constant Field Values
-
DEFAULT_READINESS_FILENAME
protected static final java.lang.String DEFAULT_READINESS_FILENAME
- See Also:
- Constant Field Values
-
DEFAULT_ERROR_FILENAME
protected static final java.lang.String DEFAULT_ERROR_FILENAME
- See Also:
- Constant Field Values
-
DEFAULT_LIVENESS_FILENAME
protected static final java.lang.String DEFAULT_LIVENESS_FILENAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init() throws StateNotificationException
- Specified by:
init
in interfaceStateNotifier
- Throws:
StateNotificationException
-
shutdown
public void shutdown() throws StateNotificationException
- Specified by:
shutdown
in interfaceStateNotifier
- Throws:
StateNotificationException
-
notify
public void notify(StateManager.JPlatformState state, java.lang.String message) throws StateNotificationException
- Specified by:
notify
in interfaceStateNotifier
- Throws:
StateNotificationException
-
notifyUnchangedState
public boolean notifyUnchangedState()
- Specified by:
notifyUnchangedState
in interfaceStateNotifier
-
-