How to track connection status of LocalView?
is it possible to listen on a connected/disconnected status of a LocalView, to be notified when a LocalView connects or disconnects from the remote space?
My problem is that when a client restores a connection to a remote space after the connection was completely lost, various GigaSpace components are reconnected at slightly different times. Even if I have successfully read an object from the remote space after connection is re-established, a subsequent read from a LocalView may still fail with a SpaceCacheException "local view is disconnected". After short time (usually 100's ms) the local view eventually reconnects as well, but how could I know when I could read from it, except of running repeated attempts in a loop?