Hazelcast access using CLI

后端 未结 3 2050
我在风中等你
我在风中等你 2021-02-15 17:39

Suppose I have instance of Hazelcast running somewhere on remote machine and it executed in official Docker image. So I wolud like to see some data that Hazelcast stores just li

3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-15 17:51

    Best way is to write a Java utility that can run from CLI. It can make use of HazelcastClient to connect to the cluster, get hold of IMap and print however you need. Also IMap.getLocalMapStats gives stats related to local map for that node.

提交回复
热议问题