App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine.tools.adaptive_thread_pool.WorkItem Class Reference
Inheritance diagram for google.appengine.tools.adaptive_thread_pool.WorkItem:
google.appengine.tools.bulkloader._WorkItem google.appengine.tools.bulkloader.KeyRangeItem google.appengine.tools.bulkloader.UploadWorkItem google.appengine.tools.bulkloader.DownloadItem google.appengine.tools.bulkloader.MapperItem

Public Member Functions

def __init__
 
def PerformWork
 
def __str__
 

Static Public Attributes

string SUCCESS = 'success'
 
string RETRY = 'retry'
 
string FAILURE = 'failure'
 

Detailed Description

Holds a unit of work.

Member Function Documentation

def google.appengine.tools.adaptive_thread_pool.WorkItem.PerformWork (   self,
  thread_pool 
)
Perform the work of this work item and report the results.

Args:
  thread_pool: The AdaptiveThreadPool instance associated with this
thread.

Returns:
  A tuple (status, instruction) of the work status and an instruction
  for the ThreadGate.

The documentation for this class was generated from the following file: