Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- embeddedCacheManager
- .getHealth()
- .getClusterHealth()
- .getNumberOfNodes() // Those two methods allow to control if
- .getNodeNames() // proper number of nodes joined the cluster
- .getClusterName() // Might be helpful for managing multiple clusters
- .getHealthStatus() // UNHEALTHY, HEALTHY, REBALANCING
- .getHostInfo()
- .getNumberOfCpus() // Those 3 methods might be
- .getTotalMemoryKb() // useful for dynamic Cloud
- .getFreeMemoryInKb() // environments
- getCacheHealth()
- .get(0).getStatus() // UNHEALTHY, HEALTHY, REBALANCING
- .get(0).getCacheName() // Cache name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement