Package com.mongodb
Class MongoDriverInformation
java.lang.Object
com.mongodb.MongoDriverInformation
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
The MongoDriverInformation class allows driver and library authors to add extra information about their library. This information is
then available in the MongoD/MongoS logs.
The following metadata can be included when creating a MongoClient
.
- The driver name. Eg:
mongo-scala-driver
- The driver version. Eg:
1.2.0
- Extra platform information. Eg:
Scala 2.11
Note: Library authors are responsible for accepting MongoDriverInformation
from external libraries using their library.
Also all the meta data is limited to 512 bytes and any excess data will be truncated.
- Since:
- 3.4
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Deprecated.Usage of this API is not supported in AEM as a Cloud Service. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Deprecated.Convenience method to create a Builder.builder
(MongoDriverInformation mongoDriverInformation) Deprecated.Convenience method to create a Builder.Deprecated.Returns the driverNamesDeprecated.Returns the driverPlatformsDeprecated.Returns the driverVersions
-
Method Details
-
builder
Deprecated.Convenience method to create a Builder.- Returns:
- a builder
-
builder
Deprecated.Convenience method to create a Builder.- Parameters:
mongoDriverInformation
- the mongoDriverInformation to extend- Returns:
- a builder
-
getDriverNames
Deprecated.Returns the driverNames- Returns:
- the driverNames
-
getDriverVersions
Deprecated.Returns the driverVersions- Returns:
- the driverVersions
-
getDriverPlatforms
Deprecated.Returns the driverPlatforms- Returns:
- the driverPlatforms
-