Class DummyStateNotifier
java.lang.Object
com.jalios.jcms.exploitation.state.DummyStateNotifier
- All Implemented Interfaces:
StateNotifier
This class is present for ascendant compatibility. The process of this state notifier is to set ready state when live state is notified.
WARNING : this class should not be used in production if any StateNotifier is used in StateManager, It's only for default configuration and
ascendant compatibility with previous ReadinessProbeManager process.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()voidnotify(StateManager.JPlatformState state, String message) booleanvoidshutdown()
-
Constructor Details
-
DummyStateNotifier
public DummyStateNotifier()
-
-
Method Details
-
notify
public void notify(StateManager.JPlatformState state, String message) throws StateNotificationException - Specified by:
notifyin interfaceStateNotifier- Throws:
StateNotificationException
-
notifyUnchangedState
public boolean notifyUnchangedState()- Specified by:
notifyUnchangedStatein interfaceStateNotifier
-
init
- Specified by:
initin interfaceStateNotifier- Throws:
StateNotificationException
-
shutdown
- Specified by:
shutdownin interfaceStateNotifier- Throws:
StateNotificationException
-