Вопрос

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