Package org.apache.ignite.client
Interface ClientDisconnectListener
-
public interface ClientDisconnectListenerClient disconnected event listener. Such listeners can be used inClientCache.query(ContinuousQuery, ClientDisconnectListener)orClientCache.registerCacheEntryListener(CacheEntryListenerConfiguration, ClientDisconnectListener)methods to handle client channel failure.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonDisconnected(Exception reason)Client disconnected callback.
-
-
-
Method Detail
-
onDisconnected
void onDisconnected(Exception reason)
Client disconnected callback.- Parameters:
reason- Exception that caused the disconnect, can benull.
-
-