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.StringDEFAULT_ERROR_FILENAMEprotected static java.lang.StringDEFAULT_LIVENESS_FILENAMEprotected static java.lang.StringDEFAULT_PROBES_DIRECTORYprotected static java.lang.StringDEFAULT_READINESS_FILENAMEprotected static java.lang.StringERROR_FILENAME_PROPprotected static java.lang.StringLIVENESS_FILENAME_PROPprotected static java.lang.StringPROBES_DIRECTORY_PROPprotected static java.lang.StringREADINESS_FILENAME_PROP
-
Constructor Summary
Constructors Constructor Description FileStateNotifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()voidnotify(StateManager.JPlatformState state, java.lang.String message)booleannotifyUnchangedState()voidshutdown()
-
-
-
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:
initin interfaceStateNotifier- Throws:
StateNotificationException
-
shutdown
public void shutdown() throws StateNotificationException- Specified by:
shutdownin interfaceStateNotifier- Throws:
StateNotificationException
-
notify
public void notify(StateManager.JPlatformState state, java.lang.String message) throws StateNotificationException
- Specified by:
notifyin interfaceStateNotifier- Throws:
StateNotificationException
-
notifyUnchangedState
public boolean notifyUnchangedState()
- Specified by:
notifyUnchangedStatein interfaceStateNotifier
-
-