Method: Mongo::Monitoring::Event::CommandStarted#socket_object_id

Defined in:
lib/mongo/monitoring/event/command_started.rb

#socket_object_idObject (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.

object_id of the socket object used for this command.

Since:

  • 2.1.0



52
53
54
# File 'lib/mongo/monitoring/event/command_started.rb', line 52

def socket_object_id
  @socket_object_id
end