Frage

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.!

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top