com.supermap.services.components

Interface TileMasterClient

  • All Known Implementing Classes:
    LocalTileMasterClient


    public interface TileMasterClient
    

    The client agent interface for tileworker to notify the tilemaster task status.

    Since:
    7.0.1
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean notifyJobDeployCompleted(java.lang.String jobId, java.lang.String workerId)
      The tiling node reports to the master node that the tiling job has been locally deployed successfully
      boolean notifyTaskCompleted(java.lang.String taskId, TileTaskBuildResult result)
      The tiling node reports a tiling task to the master node successed
      boolean notifyTaskFailed(java.lang.String taskId)
      The tiling node reports a tiling task to the master node failed
    • Method Detail

      • notifyTaskFailed

        boolean notifyTaskFailed(java.lang.String taskId)
        

        The tiling node reports a tiling task to the master node failed

        Parameters:
        taskId -
        Returns:
        Since:
        7.1.0
      • notifyTaskCompleted

        boolean notifyTaskCompleted(java.lang.String taskId,
                                  TileTaskBuildResult result)
        

        The tiling node reports a tiling task to the master node successed

        Parameters:
        taskId -
        Returns:
        Since:
        7.1.0
      • notifyJobDeployCompleted

        boolean notifyJobDeployCompleted(java.lang.String jobId,
                                       java.lang.String workerId)
        

        The tiling node reports to the master node that the tiling job has been locally deployed successfully

        Parameters:
        taskId -
        Returns:
        Since:
        7.1.0