Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

How to track connection status of LocalView?

Hello,

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?

regards, Alexei

asked 2016-12-07 04:03:51 -0500

Alexey Serdyuk gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

The functionality you are asking for is not possible at this time.

Thanks, Dixson

answered 2016-12-07 10:06:26 -0500

Dixson Huie gravatar image
edit flag offensive delete link more

Comments

Agree with you.

AppJetty gravatar imageAppJetty ( 2017-05-04 06:46:06 -0500 )edit
0

Take a look on the following: http://docs.gigaspaces.com/xap120/mon...

You will see you can get access to the internal local view proxy.

answered 2016-12-12 09:22:32 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-12-07 04:03:51 -0500

Seen: 172 times

Last updated: Dec 12 '16