Class: Mongo::Server::Monitor::AppMetadata Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::Mongo::Server::AppMetadata ,
Forwardable
|
|
Instance Chain:
|
|
Inherits: |
Mongo::Server::AppMetadata
|
Defined in: | lib/mongo/server/monitor/app_metadata.rb |
Overview
App metadata for monitoring sockets.
It is easiest to start with the normal app metadata and remove authentication-related bits.
Constant Summary
Class Method Summary
- .new(options = {}) ⇒ AppMetadata constructor Internal use only
::Mongo::Server::AppMetadata
- Inherited
.new | Instantiate the new |
Instance Attribute Summary
::Mongo::Server::AppMetadata
- Inherited
Instance Method Summary
::Mongo::Server::AppMetadata
- Inherited
#client_document | Get BSON::Document to be used as value for |
#validated_document | Get the metadata as BSON::Document to be sent to as part of the handshake. |
#architecture, | |
#check_purpose! | Verifies that the given purpose is either nil, or is one of the allowed purposes. |
#document | Get the metadata as BSON::Document to be sent to as part of the handshake. |
#driver_doc, | |
#env_doc | Returns the environment doc describing the current execution environment. |
#name, #os_doc, #platform_string, #type, | |
#validate! | Check whether it is possible to build a valid app metadata document with params provided on intialization. |