Method: Mongo::Server::Monitor::Connection#server_connection_id

Defined in:
lib/mongo/server/monitor/connection.rb

#server_connection_idInteger (readonly)

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 server_connection_id The server connection id.

Returns:

  • (Integer)

    server_connection_id The server connection id.

Since:

  • 2.0.0



90
91
92
# File 'lib/mongo/server/monitor/connection.rb', line 90

def server_connection_id
  @server_connection_id
end