Package vtrace :: Module util :: Class TraceManager
[hide private]
[frames] | no frames]

Class TraceManager

source code

A trace-manager is a utility class to extend from when you may be dealing with multiple tracer objects. It allows for persistant mode settings and persistent metadata as well as bundling a DistributedNotifier. You may also extend from this to get auto-magic remote stuff for your managed traces.

Instance Methods [hide private]
 
__init__(self, trace=None) source code
 
manageTrace(self, trace)
Set all the modes/meta/notifiers in this trace for management by this TraceManager.
source code
 
unManageTrace(self, trace)
Untie this trace manager from the trace.
source code
 
setMode(self, name, value) source code
 
getMode(self, name, default=False) source code
 
setMeta(self, name, value) source code
 
getMeta(self, name, default=None) source code
 
registerNotifier(self, event, notif) source code
 
deregisterNotifier(self, event, notif) source code
 
fireLocalNotifiers(self, event, trace)
Deliver a local event to the DistributedNotifier managing the traces.
source code
Method Details [hide private]

fireLocalNotifiers(self, event, trace)

source code 

Deliver a local event to the DistributedNotifier managing the traces. (used to locally bump notifiers)