public interface MonitorableService extends Remote
| Modifier and Type | Method and Description | 
|---|---|
Lease | 
monitor(long duration)
Establish a Lease to monitor the reachability of the Service 
 | 
void | 
ping()
Low cost roundtrip check 
 | 
void | 
startHeartbeat(String[] configArgs)
Start a heartbeat mechanism to determine the reachability of the Service. 
 | 
void ping() throws RemoteException
RemoteException - If an error occured during communication with the serviceLease monitor(long duration) throws LeaseDeniedException, RemoteException
duration - The duration (in milliseconds) of the requested LeaseLeaseDeniedException - If requested Lease is deniedRemoteException - If communication errors occurvoid startHeartbeat(String[] configArgs) throws ConfigurationException, RemoteException
org.jini.rio.FaultDetectionHandler.heartbeatServer
configArgs - Configuration attributes the Service will use to establish a heartbeat
                   mechanismConfigurationExceptionRemoteExceptionCopyright © GigaSpaces.