public class MongoClientVersion extends Object
MongoClientVersion
holds information about the used mongo-java client and is used to distinguish between
different versions.Constructor and Description |
---|
MongoClientVersion() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isAsyncClient() |
static boolean |
isMongo34Driver()
Deprecated.
since 2.1, which requires MongoDB Java driver 3.8. Returns true by default.
|
static boolean |
isMongo38Driver() |
static boolean |
isMongo3Driver()
Deprecated.
since 2.1, which requires MongoDB Java driver 3.8. Returns true by default.
|
static boolean |
isReactiveClientPresent() |
static boolean |
isSyncClientPresent() |
@Deprecated public static boolean isMongo3Driver()
@Deprecated public static boolean isMongo34Driver()
public static boolean isMongo38Driver()
public static boolean isAsyncClient()
public static boolean isSyncClientPresent()
public static boolean isReactiveClientPresent()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.