Answer by crusy for How can I check if a hazelcast cluster is alive from a...
As isRunning()may be true even if cluster is down, I'd go for the following approach (a mixture of @konstantin-zyubin's answer and this). This doesn't need an event-listener, which is an advantage in...
View ArticleAnswer by Konstantin Ziubin for How can I check if a hazelcast cluster is...
I have found a more reliable way to check hazelcast availability, because client.getLifecycleService().isRunning()when you use async reconnection mode is always return true, as was...
View ArticleAnswer by magiccrafter for How can I check if a hazelcast cluster is alive...
You can use the LifecycleService.isRunning() method as well:HazelcastInstance hzInstance = HazelcastClient.newHazelcastClient();hzInstance.getLifecycleService().isRunning()
View ArticleAnswer by pveentjer for How can I check if a hazelcast cluster is alive from...
The simplest way would be the register a LifecycleListener to the client HazelcastInstance: HazelcastInstance client = HazelcastClient.newHazelcastClient();...
View ArticleHow can I check if a hazelcast cluster is alive from a java client?
We use hazelcast in client-server mode. The hazelcast cluster contains 2 hazelcast nodes and we have about 25 clients connected to the cluster. What I am lookin for now is a simple check that tries to...
View Article
More Pages to Explore .....