Class: Mongo::Server::Monitor::AppMetadata Private
- Inherits:
-
AppMetadata
- Object
- AppMetadata
- Mongo::Server::Monitor::AppMetadata
- Defined in:
- build/ruby-driver-v2.19/lib/mongo/server/monitor/app_metadata.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
App metadata for monitoring sockets.
It is easiest to start with the normal app metadata and remove authentication-related bits.
Constant Summary
Constants inherited from AppMetadata
AppMetadata::AUTH_OPTION_KEYS, AppMetadata::DRIVER_NAME, AppMetadata::MAX_APP_NAME_SIZE, AppMetadata::PURPOSES
Instance Attribute Summary
Attributes inherited from AppMetadata
#platform, #purpose, #server_api, #wrapping_libraries
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ AppMetadata
constructor
private
A new instance of AppMetadata.
Methods inherited from AppMetadata
#client_document, #validated_document
Constructor Details
#initialize(options = {}) ⇒ AppMetadata
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 AppMetadata.
28 29 30 31 32 33 |
# File 'build/ruby-driver-v2.19/lib/mongo/server/monitor/app_metadata.rb', line 28 def initialize( = {}) super if instance_variable_defined?(:@request_auth_mech) remove_instance_variable(:@request_auth_mech) end end |