Package com.mongodb
Class MongoDriverInformation
- java.lang.Object
 - 
- com.mongodb.MongoDriverInformation
 
 
- 
@Deprecated(since="2021-05-27") public final class MongoDriverInformation extends java.lang.ObjectDeprecated.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
MongoDriverInformationfrom 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
 
 - The driver name. Eg: 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMongoDriverInformation.BuilderDeprecated.Usage of this API is not supported in AEM as a Cloud Service. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MongoDriverInformation.Builderbuilder()Deprecated.Convenience method to create a Builder.static MongoDriverInformation.Builderbuilder(MongoDriverInformation mongoDriverInformation)Deprecated.Convenience method to create a Builder.java.util.List<java.lang.String>getDriverNames()Deprecated.Returns the driverNamesjava.util.List<java.lang.String>getDriverPlatforms()Deprecated.Returns the driverPlatformsjava.util.List<java.lang.String>getDriverVersions()Deprecated.Returns the driverVersions 
 - 
 
- 
- 
Method Detail
- 
builder
public static MongoDriverInformation.Builder builder()
Deprecated.Convenience method to create a Builder.- Returns:
 - a builder
 
 
- 
builder
public static MongoDriverInformation.Builder builder(MongoDriverInformation mongoDriverInformation)
Deprecated.Convenience method to create a Builder.- Parameters:
 mongoDriverInformation- the mongoDriverInformation to extend- Returns:
 - a builder
 
 
- 
getDriverNames
public java.util.List<java.lang.String> getDriverNames()
Deprecated.Returns the driverNames- Returns:
 - the driverNames
 
 
- 
getDriverVersions
public java.util.List<java.lang.String> getDriverVersions()
Deprecated.Returns the driverVersions- Returns:
 - the driverVersions
 
 
- 
getDriverPlatforms
public java.util.List<java.lang.String> getDriverPlatforms()
Deprecated.Returns the driverPlatforms- Returns:
 - the driverPlatforms
 
 
 - 
 
 -