Using ns command i created a number of namespaces in my console. I have a problem now. I have created more than 5 namespaces and I have lost track of them ! I want to see the number of namespaces that I have created and their respective names.

Is there any command to find out the number of created namespaces in Hazelcast ? Please help.!

有帮助吗?

解决方案

From the command line tool "instances" will do the job. Programatically you can call hazelcastInstance.getInstances() which will return you the Collection of Instances.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top