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.tools.devappserver2.scheduled_executor.ScheduledExecutor Class Reference
Inheritance diagram for google.appengine.tools.devappserver2.scheduled_executor.ScheduledExecutor:

Public Member Functions

def __init__
 
def start
 
def quit
 
def add_event
 
def update_event
 

Detailed Description

An executor that supports scheduling.

Member Function Documentation

def google.appengine.tools.devappserver2.scheduled_executor.ScheduledExecutor.add_event (   self,
  runnable,
  eta,
  key = None 
)
Schedule an event to be run.

Args:
  runnable: A callable to run.
  eta: An int containing when to run runnable in seconds since the epoch.
  key: An optional key that implements __hash__ that can be passed to
  update_event.
def google.appengine.tools.devappserver2.scheduled_executor.ScheduledExecutor.update_event (   self,
  eta,
  key 
)
Modify when an event should be run.

Args:
  eta: An int containing when to schedule the event in seconds since the
  epoch.
  key: The key of the event to modify.

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