com.supermap.services.components

Interface TileWorker

    • Method Detail

      • deployJob

        boolean deployJob(JobBuildConfig pConfig)
        

        Deploys the tiling task.

        Parameters:
        pConfig -
        Returns:
      • whatAreYouDoing

        JobExecutingStates whatAreYouDoing()
        

        Gets the tiling task status.

        Returns:
      • getTaskState

        TileTaskState getTaskState(java.lang.String tileTaskId)
        

        Gets the unit tile task status.

        Parameters:
        tileTaskId -
        Returns:
      • notifyJobCompleted

        boolean notifyJobCompleted(java.lang.String jobId)
        
        Notifies the TileWorker node that the tiling task has been completed and can turn off some of the resources (eg thread, memory pool, etc.) for the application. The method is called by TileMaster
        Parameters:
        jobId -
        Returns:
      • deployData

        boolean deployData(ProviderConnInfo[] providerConnectionInfos,
                         java.lang.String masterAddress,
                         boolean readOnly,
                         java.lang.String id,
                         FileVerificationMode verificationMode)
                           throws java.io.IOException
        

        Deploys the tiling data.

        Parameters:
        providerConnectionInfos -
        masterAddress -
        readOnly -
        id -
        verificationMode -
        Returns:
        Throws:
        java.io.IOException
      • stopDeployData

        boolean stopDeployData(java.lang.String[] masterSideIds)
        

        Notifies the TileWorker node to stop downloading data.

        Parameters:
        masterSideIds@ -
        Returns:
        Since:
        8.0.0