类 ConfigExecutor
- java.lang.Object
-
- com.alibaba.nacos.config.server.utils.ConfigExecutor
-
public final class ConfigExecutor extends java.lang.ObjectConfig executor.- 作者:
- liaochuntao
-
-
字段概要
字段 修饰符和类型 字段 说明 private static java.util.concurrent.ScheduledExecutorServiceASYNC_CONFIG_CHANGE_NOTIFY_EXECUTORprivate static java.util.concurrent.ScheduledExecutorServiceASYNC_NOTIFY_EXECUTORprivate static java.util.concurrent.ScheduledExecutorServiceCAPACITY_MANAGEMENT_EXECUTORprivate static java.util.concurrent.ScheduledExecutorServiceCONFIG_SUB_SERVICE_EXECUTORprivate static java.util.concurrent.ExecutorDUMP_EXECUTORprivate static java.util.concurrent.ScheduledExecutorServiceLONG_POLLING_EXECUTORprivate static java.util.concurrent.ScheduledExecutorServiceTIMER_EXECUTOR
-
构造器概要
构造器 构造器 说明 ConfigExecutor()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static intasyncCofigChangeClientNotifyQueueSize()static intasyncNotifyQueueSize()static voidexecuteAsyncNotify(java.lang.Runnable runnable)static voidexecuteEmbeddedDump(java.lang.Runnable runnable)static voidexecuteLongPolling(java.lang.Runnable runnable)static java.util.concurrent.ScheduledExecutorServicegetClientConfigNotifierServiceExecutor()static java.util.concurrent.ScheduledExecutorServicegetConfigSubServiceExecutor()static voidscheduleAsyncNotify(java.lang.Runnable command, long delay, java.util.concurrent.TimeUnit unit)static voidscheduleConfigTask(java.lang.Runnable command, long initialDelay, long delay, java.util.concurrent.TimeUnit unit)static voidscheduleCorrectUsageTask(java.lang.Runnable runnable, long initialDelay, long delay, java.util.concurrent.TimeUnit unit)static voidscheduleLongPolling(java.lang.Runnable runnable, long initialDelay, long period, java.util.concurrent.TimeUnit unit)static java.util.concurrent.ScheduledFuture<?>scheduleLongPolling(java.lang.Runnable runnable, long period, java.util.concurrent.TimeUnit unit)
-
-
-
字段详细资料
-
DUMP_EXECUTOR
private static final java.util.concurrent.Executor DUMP_EXECUTOR
-
TIMER_EXECUTOR
private static final java.util.concurrent.ScheduledExecutorService TIMER_EXECUTOR
-
CAPACITY_MANAGEMENT_EXECUTOR
private static final java.util.concurrent.ScheduledExecutorService CAPACITY_MANAGEMENT_EXECUTOR
-
ASYNC_NOTIFY_EXECUTOR
private static final java.util.concurrent.ScheduledExecutorService ASYNC_NOTIFY_EXECUTOR
-
CONFIG_SUB_SERVICE_EXECUTOR
private static final java.util.concurrent.ScheduledExecutorService CONFIG_SUB_SERVICE_EXECUTOR
-
LONG_POLLING_EXECUTOR
private static final java.util.concurrent.ScheduledExecutorService LONG_POLLING_EXECUTOR
-
ASYNC_CONFIG_CHANGE_NOTIFY_EXECUTOR
private static final java.util.concurrent.ScheduledExecutorService ASYNC_CONFIG_CHANGE_NOTIFY_EXECUTOR
-
-
方法详细资料
-
scheduleConfigTask
public static void scheduleConfigTask(java.lang.Runnable command, long initialDelay, long delay, java.util.concurrent.TimeUnit unit)
-
executeEmbeddedDump
public static void executeEmbeddedDump(java.lang.Runnable runnable)
-
scheduleCorrectUsageTask
public static void scheduleCorrectUsageTask(java.lang.Runnable runnable, long initialDelay, long delay, java.util.concurrent.TimeUnit unit)
-
executeAsyncNotify
public static void executeAsyncNotify(java.lang.Runnable runnable)
-
scheduleAsyncNotify
public static void scheduleAsyncNotify(java.lang.Runnable command, long delay, java.util.concurrent.TimeUnit unit)
-
asyncNotifyQueueSize
public static int asyncNotifyQueueSize()
-
asyncCofigChangeClientNotifyQueueSize
public static int asyncCofigChangeClientNotifyQueueSize()
-
getConfigSubServiceExecutor
public static java.util.concurrent.ScheduledExecutorService getConfigSubServiceExecutor()
-
getClientConfigNotifierServiceExecutor
public static java.util.concurrent.ScheduledExecutorService getClientConfigNotifierServiceExecutor()
-
scheduleLongPolling
public static void scheduleLongPolling(java.lang.Runnable runnable, long initialDelay, long period, java.util.concurrent.TimeUnit unit)
-
scheduleLongPolling
public static java.util.concurrent.ScheduledFuture<?> scheduleLongPolling(java.lang.Runnable runnable, long period, java.util.concurrent.TimeUnit unit)
-
executeLongPolling
public static void executeLongPolling(java.lang.Runnable runnable)
-
-