Creating and Removing an Map from HazelCast
-
21-12-2019 - |
Pergunta
I am using the following code to create an map in HazelCast
HazelcastInstance instance = null;
Config cfg = new Config();
instance =Hazelcast.newHazelcastInstance(cfg);
instance.getMap(mapName);
Once I am done with the my processing I want to remove this map from HazelCast. Can you Please suggest how to go about it.
Thanks, Praveen
I did not receive any replies but got the answer. You can use
instance.getMap(mapName).destroy();
I am posting this so that it might help someone else in need.
Solução
I did not receive any replies but got the answer. You can use
instance.getMap(mapName).destroy();
I am posting this so that it might help someone else in need.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow