Method: Mongo::Server::RoundTripTimeAverager#initialize
- Defined in:
- lib/mongo/server/round_trip_time_averager.rb
#initialize ⇒ RoundTripTimeAverager
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of RoundTripTimeAverager.
28 29 30 31 |
# File 'lib/mongo/server/round_trip_time_averager.rb', line 28 def initialize @last_round_trip_time = nil @average_round_trip_time = nil end |