◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
topology, |
|
|
|
topology_settings, |
|
|
|
pool |
|
) |
| |
Maintain round trip times for a server.
The Topology is weakly referenced.
◆ add_sample()
def add_sample |
( |
|
self, |
|
|
|
sample |
|
) |
| |
◆ average()
Get the calculated average, or None if no samples yet.
◆ close()
Close and stop monitoring.
open() restarts the monitor after closing.
Reimplemented from MonitorBase.
◆ reset()
The documentation for this class was generated from the following file:
- /home/passerat/Stage/flaskProject/venv/lib/python3.8/site-packages/pymongo/monitor.py