类 HealthCheckReactor


  • public class HealthCheckReactor
    extends java.lang.Object
    Health check reactor.
    作者:
    nacos
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      private static java.util.Map<java.lang.String,​java.util.concurrent.ScheduledFuture> futureMap  
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static void cancelCheck​(BeatCheckTask task)
      Cancel client beat check task.
      static void scheduleCheck​(BeatCheckTask task)
      Schedule client beat check task with a delay.
      static void scheduleCheck​(HealthCheckTaskV2 task)
      Schedule health check task for v2.
      static java.util.concurrent.ScheduledFuture<?> scheduleNow​(java.lang.Runnable task)
      Schedule client beat check task without a delay.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • futureMap

        private static java.util.Map<java.lang.String,​java.util.concurrent.ScheduledFuture> futureMap
    • 构造器详细资料

      • HealthCheckReactor

        public HealthCheckReactor()
    • 方法详细资料

      • scheduleCheck

        public static void scheduleCheck​(HealthCheckTaskV2 task)
        Schedule health check task for v2.
        参数:
        task - health check task
      • scheduleCheck

        public static void scheduleCheck​(BeatCheckTask task)
        Schedule client beat check task with a delay.
        参数:
        task - client beat check task
      • cancelCheck

        public static void cancelCheck​(BeatCheckTask task)
        Cancel client beat check task.
        参数:
        task - client beat check task
      • scheduleNow

        public static java.util.concurrent.ScheduledFuture<?> scheduleNow​(java.lang.Runnable task)
        Schedule client beat check task without a delay.
        参数:
        task - health check task
        返回:
        scheduled future