public interface NodeMonitoring
ebx.jar
./root/slave/monitoringClass
.
See Replica node monitoring through the Java API for more information.
Modifier and Type | Method and Description |
---|---|
void |
handleWhenDown(NodeMonitoringContext aContext)
This method is triggered when the replica node's status changes to
'Unavailable' . |
void |
handleWhenUp(NodeMonitoringContext aContext)
This method is triggered when the replica node's status changes to
'Available' . |
void handleWhenUp(NodeMonitoringContext aContext)
'Available'
. This happens when
the initialization operation succeeds.
If the execution of this method throws an exception, its stack trace will be added to the D3 logger and the error will have no other impact.
void handleWhenDown(NodeMonitoringContext aContext)
'Unavailable'
. This happens when:
Unregister
service
from the user interface under '[D3] Replica configuration'.If the execution of this method throws an exception, its stack trace will be added to the D3 logger and the error will have no other impact.