![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | EntitiesTransferred |
def | UpdateProgress |
def | WorkFinished |
def | PerformWork |
![]() | |
def | __init__ |
def | run |
def | SetError |
def | PerformWork |
def | CheckError |
def | GetFriendlyName |
Public Attributes | |
progress_queue | |
db | |
entities_transferred | |
![]() | |
exit_flag | |
error | |
traceback | |
Static Public Attributes | |
string | NAME = 'progress tracking thread' |
A thread which records progress information for the upload process. The progress information is stored into the provided progress database. This class is not responsible for replaying a prior run's progress information out of the database. Separate mechanisms must be used to resume a prior upload attempt.
def google.appengine.tools.bulkloader._ProgressThreadBase.__init__ | ( | self, | |
progress_queue, | |||
progress_db | |||
) |
Initialize the ProgressTrackerThread instance. Args: progress_queue: A Queue used for tracking progress information. progress_db: The database for tracking progress information; should be an instance of ProgressDatabase.
def google.appengine.tools.bulkloader._ProgressThreadBase.EntitiesTransferred | ( | self | ) |
Return the total number of unique entities transferred.
def google.appengine.tools.bulkloader._ProgressThreadBase.PerformWork | ( | self | ) |
Performs the work of a ProgressTrackerThread.
def google.appengine.tools.bulkloader._ProgressThreadBase.UpdateProgress | ( | self, | |
item | |||
) |
Updates the progress information for the given item. Args: item: A work item whose new state will be recorded
def google.appengine.tools.bulkloader._ProgressThreadBase.WorkFinished | ( | self | ) |
Performs final actions after the entity transfer is complete.