Package haizea :: Package pluggable :: Package accounting :: Module leases :: Class BEProbe
[hide private]
[frames] | no frames]

Class BEProbe

source code


Collects information from best-effort leases

* Counters

* Per-lease data

* Per-run data

Instance Methods [hide private]
 
__init__(self, accounting)
See AccountingProbe.__init__
source code
 
finalize_accounting(self)
See AccountingProbe.finalize_accounting
source code
 
at_timestep(self, lease_scheduler)
See AccountingProbe.at_timestep
source code
 
at_lease_done(self, lease)
See AccountingProbe.at_lease_done
source code

Inherited from core.accounting.AccountingProbe: at_lease_request

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  COUNTER_BESTEFFORTCOMPLETED = 'Best-effort completed'
  COUNTER_QUEUESIZE = 'Queue size'
  LEASE_STAT_WAITINGTIME = 'Waiting time'
  LEASE_STAT_SLOWDOWN = 'Slowdown'
  STAT_BESTEFFORTCOMPLETED = 'Total best-effort completed'
  STAT_ALLBESTEFFORT = 'all-best-effort'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, accounting)
(Constructor)

source code 

See AccountingProbe.__init__

Overrides: object.__init__

finalize_accounting(self)

source code 

See AccountingProbe.finalize_accounting

Overrides: core.accounting.AccountingProbe.finalize_accounting

at_timestep(self, lease_scheduler)

source code 

See AccountingProbe.at_timestep

Parameters:
  • lease_scheduler - Lease Scheduler
Overrides: core.accounting.AccountingProbe.at_timestep

at_lease_done(self, lease)

source code 

See AccountingProbe.at_lease_done

Parameters:
  • lease - Lease that was completed
Overrides: core.accounting.AccountingProbe.at_lease_done