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

Class Status


keep track of the status of many parallel requests
Method Summary
  __init__(self)
  fail(self, *unused)
record a failed operation
  finished(self)
determine if we have finished everything
  outstanding(self)
return the number of unfinished operations
  outstandingNames(self)
return the number of unfinished operations
  record(self, name, successOrFailure)
Record success or failure
  start(self, devices)
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                                                                     

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

outstandingNames(self)

return the number of unfinished operations

record(self, name, successOrFailure)

Record success or failure

start(self, devices)

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                                                                     

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