类 NacosExecuteTaskExecuteEngine

    • 构造器详细资料

      • NacosExecuteTaskExecuteEngine

        public NacosExecuteTaskExecuteEngine​(java.lang.String name,
                                             org.slf4j.Logger logger)
      • NacosExecuteTaskExecuteEngine

        public NacosExecuteTaskExecuteEngine​(java.lang.String name,
                                             org.slf4j.Logger logger,
                                             int dispatchWorkerCount)
    • 方法详细资料

      • size

        public int size()
        从接口复制的说明: NacosTaskExecuteEngine
        Get Task size in execute engine.
        返回:
        size of task
      • isEmpty

        public boolean isEmpty()
        从接口复制的说明: NacosTaskExecuteEngine
        Whether the execute engine is empty.
        返回:
        true if the execute engine has no task to do, otherwise false
      • workersCount

        private int workersCount()
      • getAllTaskKeys

        public java.util.Collection<java.lang.Object> getAllTaskKeys()
        从接口复制的说明: NacosTaskExecuteEngine
        Get all task keys.
        返回:
        collection of task keys.
      • shutdown

        public void shutdown()
                      throws com.alibaba.nacos.api.exception.NacosException
        从接口复制的说明: Closeable
        Shutdown the Resources, such as Thread Pool.
        抛出:
        com.alibaba.nacos.api.exception.NacosException - exception.
      • workersStatus

        public java.lang.String workersStatus()
        Get workers status.
        返回:
        workers status string