Class DummyStateNotifier
- java.lang.Object
-
- com.jalios.jcms.exploitation.state.DummyStateNotifier
-
- All Implemented Interfaces:
StateNotifier
public class DummyStateNotifier extends java.lang.Object implements 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 Constructor Description DummyStateNotifier()
-
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()
-
-
-
Method Detail
-
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
-
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
-
-