com.esri.arcgis.datasourcesraster
Interface IThreadedJob

All Superinterfaces:
Serializable
All Known Subinterfaces:
IConvertCacheStorageFormatJob, IMapCacheExporterJob
All Known Implementing Classes:
ConvertCacheStorageFormatJob, MapCacheExporterJob, MapCacheTileManagerJob, MosaicDatasetJob

public interface IThreadedJob
extends Serializable

Executes in parallel and performs the job.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void cancel()
          Cancel the current job.
 void execute(ITrackCancel pTrackCancel)
          Executes the job.
 IThreadedJobResult getResult()
          The result of this job.
 void setThreadNumber(int threadID)
          Sets the thread number on the job.
 

Method Detail

setThreadNumber

void setThreadNumber(int threadID)
                     throws IOException,
                            AutomationException
Sets the thread number on the job.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
threadID - The threadID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

execute

void execute(ITrackCancel pTrackCancel)
             throws IOException,
                    AutomationException
Executes the job.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getResult

IThreadedJobResult getResult()
                             throws IOException,
                                    AutomationException
The result of this job.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.datasourcesraster.IThreadedJobResult
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

cancel

void cancel()
            throws IOException,
                   AutomationException
Cancel the current job.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.