Package ZenRRD :: Module zenperfxmlrpc :: Class Status
[show private | hide private]
[frames | no frames]

Class Status


keep track of the status of many parallel requests
Method Summary
  fail(self, *unused)
record a failed operation
  finished(self)
determine if we have finished everything
  moreWork(self, count)
  outstanding(self)
return the number of unfinished operations
  record(self, successOrFailure)
single funtion to record success or failure
  start(self, count)
start the clock
  stats(self)
provide a summary of the effort
  success(self, *unused)
record a successful result
  _checkFinished(self)
determine the stopping point

Class Variable Summary
NoneType _deferred = None                                                                  
int _fail = 0                                                                     
float _startTime = 0.0                                                                   
float _stopTime = 0.0                                                                   
int _success = 0                                                                     
int _total = 0                                                                     

Method Details

fail(self, *unused)

record a failed operation

finished(self)

determine if we have finished everything

outstanding(self)

return the number of unfinished operations

record(self, successOrFailure)

single funtion to record success or failure

start(self, count)

start the clock

stats(self)

provide a summary of the effort

success(self, *unused)

record a successful result

_checkFinished(self)

determine the stopping point

Class Variable Details

_deferred

Type:
NoneType
Value:
None                                                                  

_fail

Type:
int
Value:
0                                                                     

_startTime

Type:
float
Value:
0.0                                                                   

_stopTime

Type:
float
Value:
0.0                                                                   

_success

Type:
int
Value:
0                                                                     

_total

Type:
int
Value:
0                                                                     

Generated by Epydoc 2.1 on Thu Aug 16 09:55:07 2007 http://epydoc.sf.net