Package ClusterShell :: Package CLI :: Module Clush :: Class RunTimer
[hide private]
[frames] | no frames]

Class RunTimer

source code


Running progress timer event handler

Instance Methods [hide private]
 
__init__(self, task, total)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
ev_timer(self, timer)
Called to indicate that a timer is firing.
source code
 
set_dirty(self) source code
 
erase_line(self) source code
 
update(self)
Update runtime progress info
source code
 
finalize(self, force_cr)
finalize display of runtimer
source code

Inherited from Event.EventHandler: ev_close, ev_error, ev_hup, ev_msg, ev_pickup, ev_read, ev_start, ev_timeout, ev_written

Inherited from Event.EventHandler (private): _ev_routing

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, task, total)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

ev_timer(self, timer)

source code 

Called to indicate that a timer is firing.

:param timer: :class:`.EngineTimer` object that is firing

Overrides: Event.EventHandler.ev_timer
(inherited documentation)