MCPcopy
hub / github.com/mongodb/node-mongodb-native / addRttSample

Method addRttSample

src/sdam/monitor.ts:221–223  ·  view source on GitHub ↗
(rtt: number)

Source from the content-addressed store, hash-verified

219 }
220
221 addRttSample(rtt: number) {
222 this.rttSampler.addSample(rtt);
223 }
224
225 clearRttSamples() {
226 this.rttSampler.clear();

Callers 2

onHeartbeatSucceededFunction · 0.80
checkServerFunction · 0.80

Calls 1

addSampleMethod · 0.80

Tested by

no test coverage detected