Job monitoring service thread.
|
__init__(self,
registry)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
__monStep(self)
A single monitoring step in the monitoring loop Note: Internally the
step does not block, it produces *actions* that are queued to be run
in the thread pool |
source code
|
|
|
runMonitoring(self,
steps=1,
timeout=60,
jobs=None)
Enable/Run the monitoring loop and wait for the monitoring steps completion. |
source code
|
|
|
enableMonitoring(self)
Run the monitoring loop continuously |
source code
|
|
|
disableMonitoring(self)
Disable the monitoring loop |
source code
|
|
|
stop(self,
fail_cb=None,
max_retries=5)
Stop the monitoring loop... |
source code
|
|
|
__cleanUp(self)
Cleanup function ran in JobRegistry_Monitor thread to disable the
monitoring loop updateDict_ts.timeoutCheck can hold timeout locks
that need to be released in order to allow the pool threads to be
freed. |
source code
|
|
|
|
|
|
|
setCallbackHook(self,
func,
argDict,
enabled,
timeout=0) |
source code
|
|
|
|
|
|
|
|
|
|
|
setClientCallback(self,
clientFunc,
argDict) |
source code
|
|
|
|
|
|
|
makeUpdateJobStatusFunction(self,
makeActiveBackendsFunc=None) |
source code
|
|
|
|
|
|
|
diskSpaceCheckJobInsertor(self)
Inserts the disk space checking task in the monitoring task queue |
source code
|
|
|
|
|
_handleError(self,
x,
backend_name,
show_traceback) |
source code
|
|
Inherited from GangaRepository.SessionLock.GangaThread :
isCritical ,
setCritical ,
should_stop ,
unregister
Inherited from threading.Thread :
__repr__ ,
getName ,
isAlive ,
isDaemon ,
is_alive ,
join ,
setDaemon ,
setName ,
start
Inherited from threading.Thread (private):
_reset_internal_locks ,
_set_daemon ,
_set_ident
Inherited from threading._Verbose (private):
_note
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|