Back to index

moin  1.9.0~rc2
Public Member Functions
MoinMoin.util.thread_monitor.AbstractMonitor Class Reference
Inheritance diagram for MoinMoin.util.thread_monitor.AbstractMonitor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def activate_hook
def trigger_dump
def hook_enabled

Detailed Description

Definition at line 29 of file thread_monitor.py.


Member Function Documentation

Activates the thread monitor hook. Note that this might interfere
with any kind of profiler and some debugging extensions. 

Reimplemented in MoinMoin.util.thread_monitor.DirectMonitor, and MoinMoin.util.thread_monitor.LegacyMonitor.

Definition at line 30 of file thread_monitor.py.

00030 
00031     def activate_hook(self):
00032         """ Activates the thread monitor hook. Note that this might interfere
00033         with any kind of profiler and some debugging extensions. """
00034         raise NotImplementedError

Returns true if the thread_monitor hook is enabled. 

Reimplemented in MoinMoin.util.thread_monitor.DirectMonitor, and MoinMoin.util.thread_monitor.LegacyMonitor.

Definition at line 40 of file thread_monitor.py.

00040 
00041     def hook_enabled(self):
00042         """ Returns true if the thread_monitor hook is enabled. """
00043         raise NotImplementedError

def MoinMoin.util.thread_monitor.AbstractMonitor.trigger_dump (   self,
  dumpfile = None 
)
Triggers the dump of the tracebacks of all threads.
    If dumpfile is specified, it is used as the output file. 

Reimplemented in MoinMoin.util.thread_monitor.DirectMonitor, and MoinMoin.util.thread_monitor.LegacyMonitor.

Definition at line 35 of file thread_monitor.py.

00035 
00036     def trigger_dump(self, dumpfile=None):
00037         """ Triggers the dump of the tracebacks of all threads.
00038             If dumpfile is specified, it is used as the output file. """
00039         raise NotImplementedError


The documentation for this class was generated from the following file: