Class RedisHealthCheck


  • public class RedisHealthCheck
    extends com.codahale.metrics.health.HealthCheck
    Performs health checks against a Redis cluster. Health check pings the current master, determining whether it is healthy for reads/writes.
    • Constructor Detail

      • RedisHealthCheck

        public RedisHealthCheck​(Pingable client)
    • Method Detail

      • getClient

        public Pingable getClient()
      • check

        protected com.codahale.metrics.health.HealthCheck.Result check()
        Specified by:
        check in class com.codahale.metrics.health.HealthCheck