|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SelfHealingProxy
Defines of how the proxy tries to mitigate system errors like network issues etc. When a proxy implements this interface, the polling will start when the proxy is fully registered to the Registry, ie after the Registration.beforeRegistration() is done.
Method Summary | |
---|---|
void |
addNewEvent(RemoteException event)
Allow to record when something important about the remote state is detected. |
void |
onEvent(java.util.List<RemoteException> events,
RemoteException lastInserted)
Allow to process the list of all the events that were detected on this Remote so far. |
void |
startPolling()
start/restart the polling for the remote proxy. |
void |
stopPolling()
put the polling on hold. |
Method Detail |
---|
void startPolling()
void stopPolling()
void addNewEvent(RemoteException event)
event
- void onEvent(java.util.List<RemoteException> events, RemoteException lastInserted)
event
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |