Job Statistics

Description

The job statistics is a resource associated with a map service that represents a summary of cache levels being cooked or deleted.

Parameters

ParameterDetails
f

Description: The response format. The default response format is html.

Values: html | json | pjson

Example Usage

Example input (HTML)

Job statistics

JSON Response Syntax


              {
   "jobid": "jobid",
   "type": "<CacheCooker | CacheDelete>",
   "jobstatus": "<Submitted | InProgress | Done | Canceled | PartialError | Error | Failed>"
  }

JSON Response Example


            {
  "jobId" : "26e8bec6-08c2-464b-a5c6-ecb21ce3d333", 
  "type" : "CACHECOOKER", 
  "jobStatus" : "DONE", 
  "percentComplete" : 100, 
  "message" : "", 
  "startTime" : 1355205763560, 
  "submitTime" : 1355205760817, 
  "lastTime" : 1355209575477, 
  "extent" : {
    "xmin" : -18341650.9613, 
    "ymin" : 2428377.3527, 
    "xmax" : -7454985.1505, 
    "ymax" : 11203410.6593, 
    "spatialReference" : {
      "wkid" : 102100, 
      "latestWkid" : 3857
    }
  }, 
  "numTasks" : 6, 
  "numDoneTasks" : 6, 
  "numErrorTasks" : 0, 
  "numCanceledTasks" : 0, 
  "numSubmittedTasks" : 0, 
  "numProcessingTasks" : 0, 
  "estimatedNumTiles" : 125, 
  "numTiles" : 125, 
  "estimatedTilesSize" : 1280000, 
  "tilesSize" : 151873, 
  "averageTaskTime" : 13.7777044, 
  "totalTaskTime" : 82.6662264, 
  "levelStats" : [
    
    {
      "level" : 0, 
      "processingTime" : 9.842994, 
      "numTasks" : 1, 
      "numDoneTasks" : 1, 
      "estimatedNumTiles" : 1, 
      "numTiles" : 1, 
      "estimatedTilesSize" : 10240, 
      "tilesSize" : 2015, 
      "downloadTime" : 5.2495968, 
      "generationTime" : 2.4373128, 
      "uploadTime" : 0.1406142
    }, 
    {
      "level" : 1, 
      "processingTime" : 10.749243199999999, 
      "numTasks" : 1, 
      "numDoneTasks" : 1, 
      "estimatedNumTiles" : 1, 
      "numTiles" : 1, 
      "estimatedTilesSize" : 10240, 
      "tilesSize" : 3024, 
      "downloadTime" : 5.2496304, 
      "generationTime" : 3.3591385, 
      "uploadTime" : 0.1249912
    }, 
    {
      "level" : 2, 
      "processingTime" : 12.717936, 
      "numTasks" : 1, 
      "numDoneTasks" : 1, 
      "estimatedNumTiles" : 4, 
      "numTiles" : 4, 
      "estimatedTilesSize" : 40960, 
      "tilesSize" : 8427, 
      "downloadTime" : 5.343408, 
      "generationTime" : 2.624832, 
      "uploadTime" : 2.7185759999999997
    }, 
    {
      "level" : 3, 
      "processingTime" : 12.7177732, 
      "numTasks" : 1, 
      "numDoneTasks" : 1, 
      "estimatedNumTiles" : 9, 
      "numTiles" : 9, 
      "estimatedTilesSize" : 92160, 
      "tilesSize" : 19135, 
      "downloadTime" : 0.26560459999999997, 
      "generationTime" : 2.5935508, 
      "uploadTime" : 7.8431476
    }, 
    {
      "level" : 4, 
      "processingTime" : 18.873791999999998, 
      "numTasks" : 1, 
      "numDoneTasks" : 1, 
      "estimatedNumTiles" : 30, 
      "numTiles" : 30, 
      "estimatedTilesSize" : 307200, 
      "tilesSize" : 38369, 
      "downloadTime" : 5.265288, 
      "generationTime" : 2.6560799999999998, 
      "uploadTime" : 8.936928
    }, 
    {
      "level" : 5, 
      "processingTime" : 17.764488, 
      "numTasks" : 1, 
      "numDoneTasks" : 1, 
      "estimatedNumTiles" : 80, 
      "numTiles" : 80, 
      "estimatedTilesSize" : 819200, 
      "tilesSize" : 80903, 
      "downloadTime" : 0.281232, 
      "generationTime" : 5.562144, 
      "uploadTime" : 9.905616
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.