App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.runtime.background._BackgroundRequestsContainer Class Reference
Inheritance diagram for google.appengine.runtime.background._BackgroundRequestsContainer:

Public Member Functions

def __init__
 
def EnqueueBackgroundThread
 
def RunBackgroundThread
 

Detailed Description

A container for storing pending background thread requests.

Member Function Documentation

def google.appengine.runtime.background._BackgroundRequestsContainer.EnqueueBackgroundThread (   self,
  request_id,
  target,
  args,
  kwargs 
)
Enqueues a new background thread request for a certain request ID.

Args:
  request_id: A str containing the request ID for this background thread.
  target: A callable for the background thread to execute.
  args: A tuple of positional args to be passed to target.
  kwargs: A dict of keyword args to be passed to target.

Returns:
  The thread_id of the background thread.
def google.appengine.runtime.background._BackgroundRequestsContainer.RunBackgroundThread (   self,
  request_id 
)
Runs the callable enqueued for the specified request ID.

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