注释类型 WorkerTask

    • 必需元素概要

      所需元素 
      修饰符和类型 必需的元素 说明
      String title
      任务摘要名称(应用与任务云平台展示使用)
      String value
      The name of the tasks
    • 可选元素概要

      可选元素 
      修饰符和类型 可选元素 说明
      String domain
      任务执行域
      int pollingInterval
      任务拉取间隔时间(单位:毫秒)
      int threadCount
      用于执行任务的线程数
    • 元素详细资料

      • value

        String value
        The name of the tasks
        返回:
      • title

        String title
        任务摘要名称(应用与任务云平台展示使用)
        返回:
      • threadCount

        int threadCount
        用于执行任务的线程数
        返回:
        默认值:
        1
      • pollingInterval

        int pollingInterval
        任务拉取间隔时间(单位:毫秒)
        返回:
        默认值:
        100
      • domain

        String domain
        任务执行域
        返回:
        默认值:
        ""