◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
topology, |
|
|
|
name, |
|
|
|
interval, |
|
|
|
min_interval |
|
) |
| |
Base class to do periodic work on a background thread.
The the background thread is signaled to stop when the Topology or
this instance is freed.
Reimplemented in Monitor.
◆ close()
Close and stop monitoring.
open() restarts the monitor after closing.
Reimplemented in _RttMonitor, and Monitor.
◆ gc_safe_close()
def gc_safe_close |
( |
|
self | ) |
|
GC safe close.
Reimplemented in Monitor.
◆ join()
def join |
( |
|
self, |
|
|
|
timeout = None |
|
) |
| |
Wait for the monitor to stop.
◆ open()
Start monitoring, or restart after a fork.
Multiple calls have no effect.
◆ request_check()
def request_check |
( |
|
self | ) |
|
If the monitor is sleeping, wake it soon.
The documentation for this class was generated from the following file:
- /home/passerat/Stage/flaskProject/venv/lib/python3.8/site-packages/pymongo/monitor.py