Does Spring Data GemFire provide any way to detect lost connection to GemFire Locator or Server from client-side application? I want to trigger an event to send an alert to inform user and then send request to other application to resend the information when connection is up.
Asked
Active
Viewed 51 times
1 Answers
2
Spring Data for VMware GemFire (SDG) does not in/directly (depending on your perspective) provide an API or means to detect when a client is disconnected from a cluster since GemFire/Geode already provides such mecahanisms.
See the ClientMembershipListener
interface (Javadoc).
Use the ClientMembership
(Javadoc) class to register an implementation instance of the interface.

John Blum
- 7,381
- 1
- 20
- 30