![]() |
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 | UpdateProgress |
def | WorkFinished |
![]() | |
def | __init__ |
def | EntitiesTransferred |
def | UpdateProgress |
def | WorkFinished |
def | PerformWork |
![]() | |
def | __init__ |
def | run |
def | SetError |
def | PerformWork |
def | CheckError |
def | GetFriendlyName |
Static Public Attributes | |
string | NAME = 'progress tracking thread' |
![]() | |
string | NAME = 'progress tracking thread' |
Additional Inherited Members | |
![]() | |
progress_queue | |
db | |
entities_transferred | |
![]() | |
exit_flag | |
error | |
traceback | |
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.ProgressTrackerThread.__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.ProgressTrackerThread.UpdateProgress | ( | self, | |
item | |||
) |
Update the state of the given WorkItem. Args: item: A WorkItem instance.
def google.appengine.tools.bulkloader.ProgressTrackerThread.WorkFinished | ( | self | ) |
Performs final actions after the entity transfer is complete.