public interface FaultDetectionHandler
| Modifier and Type | Method and Description | 
|---|---|
void | 
monitor(Object service,
       ServiceID serviceID)
Begin monitoring the service 
 | 
void | 
register(FaultDetectionListener listener)
Register a FaultDetectionListener 
 | 
void | 
setConfiguration(String[] configArgs)
Set configuration attributes for the FaultDetectionHandler. 
 | 
void | 
terminate()
Terminate the FaultDetectionHandler 
 | 
void setConfiguration(String[] configArgs)
configArgs - Configuration attributes a FaultDetectionHandler will use to monitor the
                   service. Values are specific to a concrete instance of the
                   FaultDetectionHandlervoid register(FaultDetectionListener listener)
listener - The FaultDetectionListener to registervoid monitor(Object service, ServiceID serviceID) throws Exception
service - The service that the FaultDetectionHandler will monitor, must not be
                  nullserviceID - An Object representing a unique service identifier for the service being
                  monitored, must not be nullException - If there are abnormal conditions encounteredNullPointerException - if required parameters are nullvoid terminate()
Copyright © GigaSpaces.