Advertisement
Guest User

Untitled

a guest
Feb 24th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. embeddedCacheManager
  2. .getHealth()
  3. .getClusterHealth()
  4. .getNumberOfNodes() // Those two methods allow to control if
  5. .getNodeNames() // proper number of nodes joined the cluster
  6. .getClusterName() // Might be helpful for managing multiple clusters
  7. .getHealthStatus() // UNHEALTHY, HEALTHY, REBALANCING
  8. .getHostInfo()
  9. .getNumberOfCpus() // Those 3 methods might be
  10. .getTotalMemoryKb() // useful for dynamic Cloud
  11. .getFreeMemoryInKb() // environments
  12. getCacheHealth()
  13. .get(0).getStatus() // UNHEALTHY, HEALTHY, REBALANCING
  14. .get(0).getCacheName() // Cache name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement