HazelcastInstance client = null;
try {
client = HazelcastClient.newHazelcastClient(hazelcastClientConfig); //has to be inside try, the constructor throws an exception if the cluster is unavailable
} catch (Exception e) {
//...
} finally {
if (client != null) {
client.shutdown();
}
}
--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/CAGz7LLkmPN35rHpKXmn%3DWf%2B72SHmbfX2EbBNov3d93OsciPXVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/CAGz7LLkmPN35rHpKXmn%3DWf%2B72SHmbfX2EbBNov3d93OsciPXVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Sancar KoyunluSoftware Engineer, Hazelcast
--Sancar KoyunluSoftware Engineer, Hazelcast
--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/CAEj0St8p6MeQ945%2BUzDfOpSWbdfghndRzt-LK_4oLpWgt3KchA%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/CAGz7LLkmPN35rHpKXmn%3DWf%2B72SHmbfX2EbBNov3d93OsciPXVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Sancar KoyunluSoftware Engineer, Hazelcast
----Sancar KoyunluSoftware Engineer, Hazelcast
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/CAEj0St8p6MeQ945%2BUzDfOpSWbdfghndRzt-LK_4oLpWgt3KchA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/CAGz7LL%3DPo5WEAEOQwJOOyBYmVvyj0cRRVsRkYbnyojdcrKitVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.