com.supermap.services.components

Interface TileTaskRunner

    • Method Detail

      • getState

        TileTaskState getState(java.lang.String taskId)
        

        Returns the state information of the tile task, including whether the current task was executed by that tangent point and whether it was completed.

        Parameters:
        taskId -
        Returns:
        Since:
        6.1.3
      • addListener

        void addListener(TileTaskRunner.RunnerListener listener)
        

        Registers a listener to monitor changes in the execution status of the tile task, such as the start of the task, the end, and so on.

        Parameters:
        listener -
        Since:
        6.1.3
      • setTask

        void setTask(TileTask tileTask)
        

        Sets the tile task information.

        Parameters:
        tileTask -
        Since:
        6.1.3
      • setWorkerConfig

        void setWorkerConfig(WorkerConfig workerConfig)
        

        Sets the configuration information of the tile node.

        Parameters:
        workerConfig -
        Since:
        6.1.3
      • getTaskExecutingState

        TaskExecutingState getTaskExecutingState()
        

        Returns the details of the execution status of the tile task, which is much more informative than the results from<. Including the task start time, the current speed, how many tiles have been completed.

        Returns:
        Since:
        6.1.3
      • cancel

        void cancel()
        

        Cancels execution

        Since:
        6.1.3
      • dispose

        void dispose()
        

        Destroys the tile runner

        Since:
        7.1.2