[mongo-java-driver] 02/04: Merge tag 'upstream/3.3.0'

Christopher Hoskin christopher.hoskin at gmail.com
Fri Aug 19 13:27:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

grinorcole-guest pushed a commit to branch master
in repository mongo-java-driver.

commit 5269515f1c8e2d12b00e82f4c3563fce46118770
Merge: e93f47a 80cd77d
Author: Christopher Hoskin <christopher.hoskin at gmail.com>
Date:   Fri Aug 19 13:44:59 2016 +0100

    Merge tag 'upstream/3.3.0'
    
    Upstream version 3.3.0

 .evg.yml                                           |  218 +
 .gitattributes                                     |    2 +
 .gitignore                                         |   42 +-
 .travis.yml                                        |   45 +-
 CONTRIBUTING.md                                    |   37 +-
 Issues.txt                                         |    0
 LICENSE.txt                                        |  262 +-
 README.md                                          |  170 +-
 bson/build.gradle                                  |   43 +
 bson/src/main/org/bson/AbstractBsonReader.java     |  859 +++
 bson/src/main/org/bson/AbstractBsonWriter.java     |  917 +++
 bson/src/main/org/bson/BSONException.java          |   80 +
 bson/src/main/org/bson/BsonArray.java              |  233 +
 bson/src/main/org/bson/BsonBinary.java             |  140 +
 bson/src/main/org/bson/BsonBinaryReader.java       |  425 ++
 bson/src/main/org/bson/BsonBinarySubType.java      |   75 +
 bson/src/main/org/bson/BsonBinaryWriter.java       |  427 ++
 .../main/org/bson/BsonBinaryWriterSettings.java    |   51 +
 bson/src/main/org/bson/BsonBoolean.java            |   99 +
 bson/src/main/org/bson/BsonContextType.java        |   49 +
 bson/src/main/org/bson/BsonDateTime.java           |   85 +
 bson/src/main/org/bson/BsonDbPointer.java          |  106 +
 bson/src/main/org/bson/BsonDocument.java           |  835 +++
 bson/src/main/org/bson/BsonDocumentReader.java     |  384 ++
 bson/src/main/org/bson/BsonDocumentWrapper.java    |  210 +
 bson/src/main/org/bson/BsonDocumentWriter.java     |  224 +
 bson/src/main/org/bson/BsonDouble.java             |  101 +
 bson/src/main/org/bson/BsonElement.java            |   57 +
 bson/src/main/org/bson/BsonInt32.java              |  100 +
 bson/src/main/org/bson/BsonInt64.java              |   99 +
 .../org/bson/BsonInvalidOperationException.java    |   35 +
 bson/src/main/org/bson/BsonJavaScript.java         |   81 +
 .../src/main/org/bson/BsonJavaScriptWithScope.java |  109 +
 bson/src/main/org/bson/BsonMaxKey.java             |   44 +
 bson/src/main/org/bson/BsonMinKey.java             |   44 +
 bson/src/main/org/bson/BsonNull.java               |   53 +
 bson/src/main/org/bson/BsonNumber.java             |   45 +
 bson/src/main/org/bson/BsonObjectId.java           |   96 +
 bson/src/main/org/bson/BsonReader.java             |  369 ++
 bson/src/main/org/bson/BsonRegularExpression.java  |  109 +
 .../main/org/bson/BsonSerializationException.java  |   35 +
 bson/src/main/org/bson/BsonString.java             |   88 +
 bson/src/main/org/bson/BsonSymbol.java             |   89 +
 bson/src/main/org/bson/BsonTimestamp.java          |  116 +
 bson/src/main/org/bson/BsonType.java               |  152 +
 bson/src/main/org/bson/BsonUndefined.java          |   51 +
 bson/src/main/org/bson/BsonValue.java              |  401 ++
 bson/src/main/org/bson/BsonWriter.java             |  341 ++
 bson/src/main/org/bson/BsonWriterSettings.java     |   51 +
 bson/src/main/org/bson/ByteBuf.java                |  455 ++
 bson/src/main/org/bson/ByteBufNIO.java             |  224 +
 bson/src/main/org/bson/Document.java               |  389 ++
 bson/src/main/org/bson/FieldNameValidator.java     |   40 +
 bson/src/main/org/bson/NoOpFieldNameValidator.java |   29 +
 bson/src/main/org/bson/RawBsonDocument.java        |  368 ++
 bson/src/main/org/bson/StringUtils.java            |   37 +
 bson/src/main/org/bson/Transformer.java            |   31 +
 bson/src/main/org/bson/UuidRepresentation.java     |   55 +
 bson/src/main/org/bson/assertions/Assertions.java  |   86 +
 .../src/main/org/bson/assertions/package-info.java |   20 +
 .../main/org/bson/codecs/AtomicBooleanCodec.java   |   45 +
 .../main/org/bson/codecs/AtomicIntegerCodec.java   |   45 +
 bson/src/main/org/bson/codecs/AtomicLongCodec.java |   45 +
 bson/src/main/org/bson/codecs/BinaryCodec.java     |   45 +
 bson/src/main/org/bson/codecs/BooleanCodec.java    |   42 +
 bson/src/main/org/bson/codecs/BsonArrayCodec.java  |   92 +
 bson/src/main/org/bson/codecs/BsonBinaryCodec.java |   43 +
 .../src/main/org/bson/codecs/BsonBooleanCodec.java |   44 +
 .../main/org/bson/codecs/BsonDBPointerCodec.java   |   44 +
 .../main/org/bson/codecs/BsonDateTimeCodec.java    |   43 +
 .../main/org/bson/codecs/BsonDocumentCodec.java    |  161 +
 .../org/bson/codecs/BsonDocumentWrapperCodec.java  |   71 +
 bson/src/main/org/bson/codecs/BsonDoubleCodec.java |   43 +
 bson/src/main/org/bson/codecs/BsonInt32Codec.java  |   43 +
 bson/src/main/org/bson/codecs/BsonInt64Codec.java  |   43 +
 .../main/org/bson/codecs/BsonJavaScriptCodec.java  |   43 +
 .../bson/codecs/BsonJavaScriptWithScopeCodec.java  |   58 +
 bson/src/main/org/bson/codecs/BsonMaxKeyCodec.java |   44 +
 bson/src/main/org/bson/codecs/BsonMinKeyCodec.java |   44 +
 bson/src/main/org/bson/codecs/BsonNullCodec.java   |   45 +
 .../main/org/bson/codecs/BsonObjectIdCodec.java    |   43 +
 .../bson/codecs/BsonRegularExpressionCodec.java    |   43 +
 bson/src/main/org/bson/codecs/BsonStringCodec.java |   43 +
 bson/src/main/org/bson/codecs/BsonSymbolCodec.java |   43 +
 .../main/org/bson/codecs/BsonTimestampCodec.java   |   42 +
 .../src/main/org/bson/codecs/BsonTypeClassMap.java |  147 +
 .../src/main/org/bson/codecs/BsonTypeCodecMap.java |   58 +
 .../main/org/bson/codecs/BsonUndefinedCodec.java   |   50 +
 bson/src/main/org/bson/codecs/BsonValueCodec.java  |   69 +
 .../org/bson/codecs/BsonValueCodecProvider.java    |  170 +
 bson/src/main/org/bson/codecs/ByteArrayCodec.java  |   43 +
 bson/src/main/org/bson/codecs/ByteCodec.java       |   42 +
 bson/src/main/org/bson/codecs/CharacterCodec.java  |   54 +
 bson/src/main/org/bson/codecs/CodeCodec.java       |   44 +
 .../main/org/bson/codecs/CodeWithScopeCodec.java   |   58 +
 bson/src/main/org/bson/codecs/Codec.java           |   27 +
 .../src/main/org/bson/codecs/CollectibleCodec.java |   53 +
 bson/src/main/org/bson/codecs/DateCodec.java       |   44 +
 bson/src/main/org/bson/codecs/Decoder.java         |   36 +
 bson/src/main/org/bson/codecs/DecoderContext.java  |   53 +
 bson/src/main/org/bson/codecs/DocumentCodec.java   |  227 +
 .../org/bson/codecs/DocumentCodecProvider.java     |  117 +
 bson/src/main/org/bson/codecs/DoubleCodec.java     |   42 +
 bson/src/main/org/bson/codecs/Encoder.java         |   44 +
 bson/src/main/org/bson/codecs/EncoderContext.java  |  106 +
 bson/src/main/org/bson/codecs/FloatCodec.java      |   42 +
 bson/src/main/org/bson/codecs/IdGenerator.java     |   31 +
 bson/src/main/org/bson/codecs/IntegerCodec.java    |   42 +
 bson/src/main/org/bson/codecs/IterableCodec.java   |  123 +
 .../org/bson/codecs/IterableCodecProvider.java     |  112 +
 bson/src/main/org/bson/codecs/LongCodec.java       |   43 +
 bson/src/main/org/bson/codecs/MaxKeyCodec.java     |   44 +
 bson/src/main/org/bson/codecs/MinKeyCodec.java     |   44 +
 bson/src/main/org/bson/codecs/ObjectIdCodec.java   |   43 +
 .../main/org/bson/codecs/ObjectIdGenerator.java    |   31 +
 bson/src/main/org/bson/codecs/PatternCodec.java    |  131 +
 .../main/org/bson/codecs/RawBsonDocumentCodec.java |   69 +
 bson/src/main/org/bson/codecs/ShortCodec.java      |   42 +
 bson/src/main/org/bson/codecs/StringCodec.java     |   47 +
 bson/src/main/org/bson/codecs/SymbolCodec.java     |   43 +
 bson/src/main/org/bson/codecs/UuidCodec.java       |  154 +
 bson/src/main/org/bson/codecs/UuidCodecHelper.java |   32 +
 .../main/org/bson/codecs/UuidCodecProvider.java    |   55 +
 .../main/org/bson/codecs/ValueCodecProvider.java   |  117 +
 .../codecs/configuration/ChildCodecRegistry.java   |  100 +
 .../org/bson/codecs/configuration/CodecCache.java  |   48 +
 .../configuration/CodecConfigurationException.java |   37 +
 .../bson/codecs/configuration/CodecProvider.java   |   43 +
 .../bson/codecs/configuration/CodecRegistries.java |  152 +
 .../bson/codecs/configuration/CodecRegistry.java   |   41 +
 .../org/bson/codecs/configuration/LazyCodec.java   |   57 +
 .../codecs/configuration/MapOfCodecsProvider.java  |   40 +
 .../org/bson/codecs/configuration/Optional.java    |   85 +
 .../configuration/ProvidersCodecRegistry.java      |   91 +
 .../bson/codecs/configuration/package-info.java    |   20 +
 bson/src/main/org/bson/codecs/package-info.java    |   20 +
 bson/src/main/org/bson/conversions/Bson.java       |   39 +
 .../main/org/bson/conversions/package-info.java    |   20 +
 bson/src/main/org/bson/diagnostics/Loggers.java    |   51 +
 .../main/org/bson/diagnostics/package-info.java    |   20 +
 bson/src/main/org/bson/io/BasicOutputBuffer.java   |  164 +
 bson/src/main/org/bson/io/BsonInput.java           |  135 +
 bson/src/main/org/bson/io/BsonOutput.java          |  126 +
 bson/src/main/org/bson/io/ByteBufferBsonInput.java |  219 +
 bson/src/main/org/bson/io/OutputBuffer.java        |  224 +
 bson/src/main/org/bson/io/package-info.java        |   20 +
 bson/src/main/org/bson/json/JsonBuffer.java        |   62 +
 bson/src/main/org/bson/json/JsonMode.java          |   38 +
 .../src/main/org/bson/json/JsonParseException.java |   66 +
 bson/src/main/org/bson/json/JsonReader.java        | 1101 ++++
 bson/src/main/org/bson/json/JsonScanner.java       |  554 ++
 bson/src/main/org/bson/json/JsonToken.java         |   55 +
 bson/src/main/org/bson/json/JsonTokenType.java     |   99 +
 bson/src/main/org/bson/json/JsonWriter.java        |  539 ++
 .../src/main/org/bson/json/JsonWriterSettings.java |  150 +
 bson/src/main/org/bson/json/package-info.java      |   20 +
 bson/src/main/org/bson/package-info.java           |   20 +
 bson/src/main/org/bson/types/Binary.java           |  117 +
 bson/src/main/org/bson/types/Code.java             |   80 +
 bson/src/main/org/bson/types/CodeWithScope.java    |   78 +
 bson/src/main/org/bson/types/MaxKey.java           |   43 +
 bson/src/main/org/bson/types/MinKey.java           |   43 +
 bson/src/main/org/bson/types/ObjectId.java         |  572 ++
 bson/src/main/org/bson/types/Symbol.java           |   83 +
 bson/src/main/org/bson/types/package-info.java     |   20 +
 bson/src/test/resources/bson/array.json            |   37 +
 bson/src/test/resources/bson/boolean.json          |   17 +
 bson/src/test/resources/bson/corrupted.json        |  205 +
 bson/src/test/resources/bson/int32.json            |   35 +
 bson/src/test/resources/bson/string.json           |   29 +
 .../test/unit/org/bson/BsonBinaryReaderTest.java   |   77 +
 .../test/unit/org/bson/BsonBinaryWriterTest.java   |  713 +++
 .../bson/BsonDocumentReaderSpecification.groovy    |   99 +
 .../unit/org/bson/BsonDocumentSpecification.groovy |  334 ++
 bson/src/test/unit/org/bson/BsonDocumentTest.java  |  110 +
 .../bson/BsonDocumentWrapperSpecification.groovy   |   47 +
 .../bson/BsonDocumentWriterSpecification.groovy    |   62 +
 .../unit/org/bson/BsonValueSpecification.groovy    |  192 +
 .../unit/org/bson/BsonWriterSpecification.groovy   |  416 ++
 bson/src/test/unit/org/bson/DocumentTest.java      |  141 +
 bson/src/test/unit/org/bson/GenericBsonTest.java   |  111 +
 .../bson/LimitedLookaheadMarkSpecification.groovy  |  284 +
 .../org/bson/RawBsonDocumentSpecification.groovy   |  450 ++
 .../bson/codecs/AtomicCodecSpecification.groovy    |  110 +
 .../codecs/BsonDocumentCodecSpecification.groovy   |  204 +
 .../unit/org/bson/codecs/BsonDocumentSubclass.java |   23 +
 .../BsonValueCodecProviderSpecification.groovy     |   80 +
 .../bson/codecs/CharacterCodecSpecification.groovy |   83 +
 .../bson/codecs/CodeWithScopeSpecification.groovy  |   65 +
 .../test/unit/org/bson/codecs/CodecTestUtil.java   |   68 +
 .../bson/codecs/DocumentCodecSpecification.groovy  |  224 +
 .../unit/org/bson/codecs/DocumentCodecTest.java    |  188 +
 .../IterableCodecProviderSpecification.groovy      |   72 +
 .../bson/codecs/IterableCodecSpecification.groovy  |  118 +
 .../RawBsonDocumentCodecSpecification.groovy       |   66 +
 .../bson/codecs/UndefinedCodecSpecification.groovy |   59 +
 .../org/bson/codecs/UuidCodecSpecification.groovy  |  156 +
 .../codecs/ValueCodecProviderSpecification.groovy  |   68 +
 .../CodeRegistriesSpecification.groovy             |   72 +
 .../configuration/CodecCacheSpecification.groovy   |   43 +
 .../ProvidersCodecRegistrySpecification.groovy     |  444 ++
 .../bson/io/BasicOutputBufferSpecification.groovy  |  342 ++
 .../unit/org/bson/io/BasicOutputBufferTest.java    |   57 +
 .../io/ByteBufferBsonInputSpecification.groovy     |  399 ++
 .../test/unit/org/bson/json/JsonBufferTest.java    |   57 +
 .../test/unit/org/bson/json/JsonReaderTest.java    |  823 +++
 .../test/unit/org/bson/json/JsonScannerTest.java   |  537 ++
 .../test/unit/org/bson/json/JsonWriterTest.java    |  673 +++
 .../org/bson/types/DocumentSpecification.groovy    |  112 +
 .../src/test/unit/org/bson/types/ObjectIdTest.java |  152 +
 bson/src/test/unit/util/GroovyHelpers.java         |   27 +
 bson/src/test/unit/util/JsonPoweredTestHelper.java |   80 +
 build.gradle                                       |  286 +-
 build.properties                                   |   27 -
 build.xml                                          |  393 --
 config/LICENSE                                     |    4 +-
 config/checkstyle-exclude.xml                      |  100 +
 config/checkstyle-lite.xml                         |  200 -
 config/checkstyle.xml                              |  225 +
 config/clirr-exclude.yml                           |   17 +-
 config/codenarc/codenarc.xml                       |   54 +-
 config/findbugs-exclude.xml                        |  107 +
 docs/README.md                                     |    5 +
 docs/landing/README.md                             |   28 +
 docs/landing/config.toml                           |    6 +
 docs/landing/content/.readme                       |    1 +
 docs/landing/data/releases.toml                    |   52 +
 docs/landing/layouts/.readme                       |    1 +
 docs/landing/layouts/404.html                      |   45 +
 docs/landing/layouts/index.html                    |   52 +
 .../landing/layouts/partials/assets/analytics.html |   22 +
 docs/landing/layouts/partials/assets/css.html      |    6 +
 .../layouts/partials/assets/javascripts.html       |    7 +
 docs/landing/layouts/partials/features.html        |   14 +
 docs/landing/layouts/partials/footer.html          |    7 +
 docs/landing/layouts/partials/header/main.html     |   12 +
 docs/landing/layouts/partials/header/topRight.html |    9 +
 docs/landing/layouts/partials/hero.html            |   20 +
 docs/landing/layouts/partials/introduction.html    |    6 +
 docs/landing/layouts/partials/meta.html            |    5 +
 .../layouts/partials/mongodbUniversity.html        |   10 +
 docs/landing/layouts/partials/quickStart.html      |  146 +
 docs/landing/layouts/partials/releases.html        |   16 +
 docs/landing/static/.nojekyll                      |    0
 docs/landing/static/apple-touch-icon.png           |  Bin 0 -> 34974 bytes
 docs/landing/static/favicon.ico                    |  Bin 0 -> 5361 bytes
 docs/landing/static/s/css/frontpage.css            |  393 ++
 .../landing/static/s/img/24px-baseline-overlay.png |  Bin 0 -> 948 bytes
 docs/landing/static/s/img/back-body.png            |  Bin 0 -> 157 bytes
 docs/landing/static/s/img/code-block-bg.png        |  Bin 0 -> 943 bytes
 docs/landing/static/s/img/code-block-bg at 2x.png     |  Bin 0 -> 953 bytes
 docs/landing/static/s/img/favicon.png              |  Bin 0 -> 6092 bytes
 docs/landing/static/s/img/gray.png                 |  Bin 0 -> 19856 bytes
 docs/landing/static/s/img/logo-mongodb-header.png  |  Bin 0 -> 7084 bytes
 docs/landing/static/s/img/mongoJVMlogo.png         |  Bin 0 -> 12791 bytes
 .../static/s/img/mongodb-university-logo.png       |  Bin 0 -> 14860 bytes
 docs/landing/static/s/img/social-facebook.png      |  Bin 0 -> 425 bytes
 docs/landing/static/s/img/social-facebook at 2x.png   |  Bin 0 -> 645 bytes
 docs/landing/static/s/img/social-gplus.png         |  Bin 0 -> 497 bytes
 docs/landing/static/s/img/social-gplus at 2x.png      |  Bin 0 -> 928 bytes
 docs/landing/static/s/img/social-twitter.png       |  Bin 0 -> 455 bytes
 docs/landing/static/s/img/social-twitter at 2x.png    |  Bin 0 -> 825 bytes
 docs/landing/static/s/img/social-youtube.png       |  Bin 0 -> 418 bytes
 docs/landing/static/s/img/social-youtube at 2x.png    |  Bin 0 -> 715 bytes
 docs/landing/static/s/img/trans-user-back.png      |  Bin 0 -> 162 bytes
 docs/landing/static/s/img/trans-user-left.png      |  Bin 0 -> 511 bytes
 docs/landing/static/s/img/trans-user-right.png     |  Bin 0 -> 544 bytes
 docs/landing/static/s/js/frontpage.js              |   73 +
 docs/landing/static/versions.json                  |    1 +
 docs/reference/README.md                           |   52 +
 docs/reference/config.toml                         |   24 +
 docs/reference/content/bson/codecs.md              |  161 +
 docs/reference/content/bson/documents.md           |   96 +
 docs/reference/content/bson/extended-json.md       |   94 +
 docs/reference/content/bson/index.md               |   20 +
 docs/reference/content/bson/installation-guide.md  |   25 +
 docs/reference/content/bson/readers-and-writers.md |  137 +
 docs/reference/content/builders/aggregation.md     |  188 +
 docs/reference/content/builders/filters.md         |  249 +
 docs/reference/content/builders/index.md           |   20 +
 docs/reference/content/builders/indexes.md         |  135 +
 docs/reference/content/builders/projections.md     |  133 +
 docs/reference/content/builders/sorts.md           |   79 +
 docs/reference/content/builders/updates.md         |  283 +
 .../content/driver-async/getting-started/index.md  |   17 +
 .../getting-started/installation-guide.md          |   25 +
 .../getting-started/quick-tour-admin.md            |  236 +
 .../driver-async/getting-started/quick-tour.md     |  495 ++
 docs/reference/content/driver-async/index.md       |   21 +
 .../reference/connecting/authenticating.md         |  234 +
 .../reference/connecting/connection-settings.md    |  138 +
 .../driver-async/reference/connecting/index.md     |   17 +
 .../driver-async/reference/connecting/ssl.md       |   98 +
 .../content/driver-async/reference/crud/index.md   |  195 +
 .../content/driver-async/reference/gridfs/index.md |  314 ++
 .../content/driver-async/reference/index.md        |   20 +
 .../driver-async/reference/management/index.md     |   16 +
 .../driver-async/reference/management/logging.md   |   31 +
 .../reference/management/monitoring.md             |  184 +
 .../content/driver-async/reference/observables.md  |  149 +
 .../content/driver/getting-started/index.md        |   22 +
 .../driver/getting-started/installation-guide.md   |   41 +
 .../driver/getting-started/quick-tour-admin.md     |  175 +
 .../content/driver/getting-started/quick-tour.md   |  421 ++
 docs/reference/content/driver/index.md             |   30 +
 .../driver/reference/connecting/authenticating.md  |  234 +
 .../reference/connecting/connection-settings.md    |  104 +
 .../content/driver/reference/connecting/index.md   |   18 +
 .../content/driver/reference/connecting/jndi.md    |   86 +
 .../content/driver/reference/connecting/ssl.md     |   72 +
 .../content/driver/reference/crud/index.md         |  153 +
 .../content/driver/reference/gridfs/index.md       |  196 +
 docs/reference/content/driver/reference/index.md   |   20 +
 .../content/driver/reference/management/index.md   |   16 +
 .../content/driver/reference/management/logging.md |   31 +
 .../driver/reference/management/monitoring.md      |  178 +
 docs/reference/content/index.md                    |   39 +
 docs/reference/content/issues-help.md              |   49 +
 docs/reference/content/whats-new/index.md          |   25 +
 docs/reference/content/whats-new/upgrading.md      |   28 +
 docs/reference/data/.readme                        |    1 +
 docs/reference/data/mongodb.toml                   |    6 +
 docs/reference/layouts/.readme                     |    1 +
 .../layouts/partials/assets/cssExtras.html         |    2 +
 .../layouts/partials/assets/javascriptExtras.html  |    2 +
 docs/reference/layouts/shortcodes/apiref.html      |    1 +
 .../reference/layouts/shortcodes/distroPicker.html |    3 +
 docs/reference/layouts/shortcodes/install.html     |   84 +
 docs/reference/static/.readme                      |    1 +
 docs/reference/static/css/java.css                 |    7 +
 docs/reference/static/js/java.js                   |   23 +
 docs/reference/themes/mongodb/LICENSE.md           |    1 +
 docs/reference/themes/mongodb/README.md            |   55 +
 .../reference/themes/mongodb/archetypes/default.md |    3 +
 docs/reference/themes/mongodb/data/mongodb.toml    |    5 +
 .../themes/mongodb/layouts/_default/li.html        |    9 +
 .../themes/mongodb/layouts/_default/list.html      |   12 +
 .../themes/mongodb/layouts/_default/single.html    |    4 +
 docs/reference/themes/mongodb/layouts/index.html   |   12 +
 .../mongodb/layouts/partials/assets/analytics.html |   22 +
 .../mongodb/layouts/partials/assets/css.html       |    6 +
 .../mongodb/layouts/partials/assets/cssExtras.html |    0
 .../layouts/partials/assets/javascriptExtras.html  |    0
 .../layouts/partials/assets/javascripts.html       |   15 +
 .../themes/mongodb/layouts/partials/footer.html    |   38 +
 .../themes/mongodb/layouts/partials/header.html    |   27 +
 .../layouts/partials/header/contentHeader.html     |   25 +
 .../mongodb/layouts/partials/header/main.html      |   16 +
 .../mongodb/layouts/partials/header/search.html    |    8 +
 .../mongodb/layouts/partials/header/topRight.html  |   10 +
 .../themes/mongodb/layouts/partials/menu.html      |   52 +
 .../mongodb/layouts/partials/menu/currentItem.html |   75 +
 .../mongodb/layouts/partials/menu/footer.html      |    0
 .../themes/mongodb/layouts/partials/menu/item.html |   54 +
 .../mongodb/layouts/partials/menu/options.html     |   28 +
 .../themes/mongodb/layouts/partials/meta.html      |    5 +
 .../mongodb/layouts/partials/rightColumn.html      |   10 +
 .../themes/mongodb/layouts/partials/welcome.html   |   32 +
 .../themes/mongodb/layouts/shortcodes/docsref.html |    1 +
 .../themes/mongodb/layouts/shortcodes/note.html    |    4 +
 .../themes/mongodb/layouts/shortcodes/srcref.html  |    1 +
 docs/reference/themes/mongodb/static/.nojekyll     |    0
 .../themes/mongodb/static/apple-touch-icon.png     |  Bin 0 -> 34974 bytes
 .../themes/mongodb/static/css/bootstrap-custom.css | 5908 ++++++++++++++++++++
 .../themes/mongodb/static/css/overrides.css        |  157 +
 docs/reference/themes/mongodb/static/css/reset.css |   46 +
 docs/reference/themes/mongodb/static/favicon.ico   |  Bin 0 -> 5361 bytes
 .../mongodb/static/img/24px-baseline-overlay.png   |  Bin 0 -> 948 bytes
 .../themes/mongodb/static/img/back-body.png        |  Bin 0 -> 157 bytes
 .../themes/mongodb/static/img/code-block-bg.png    |  Bin 0 -> 943 bytes
 .../themes/mongodb/static/img/code-block-bg at 2x.png |  Bin 0 -> 953 bytes
 .../themes/mongodb/static/img/favicon.png          |  Bin 0 -> 6092 bytes
 docs/reference/themes/mongodb/static/img/gray.png  |  Bin 0 -> 19856 bytes
 .../mongodb/static/img/logo-mongodb-header.png     |  Bin 0 -> 7084 bytes
 .../themes/mongodb/static/img/social-facebook.png  |  Bin 0 -> 425 bytes
 .../mongodb/static/img/social-facebook at 2x.png      |  Bin 0 -> 645 bytes
 .../themes/mongodb/static/img/social-gplus.png     |  Bin 0 -> 497 bytes
 .../themes/mongodb/static/img/social-gplus at 2x.png  |  Bin 0 -> 928 bytes
 .../themes/mongodb/static/img/social-twitter.png   |  Bin 0 -> 455 bytes
 .../mongodb/static/img/social-twitter at 2x.png       |  Bin 0 -> 825 bytes
 .../themes/mongodb/static/img/social-youtube.png   |  Bin 0 -> 418 bytes
 .../mongodb/static/img/social-youtube at 2x.png       |  Bin 0 -> 715 bytes
 .../themes/mongodb/static/img/trans-user-back.png  |  Bin 0 -> 162 bytes
 .../themes/mongodb/static/img/trans-user-left.png  |  Bin 0 -> 511 bytes
 .../themes/mongodb/static/img/trans-user-right.png |  Bin 0 -> 544 bytes
 docs/reference/themes/mongodb/static/js/navbar.js  |  161 +
 docs/reference/themes/mongodb/static/js/scripts.js |   54 +
 docs/reference/themes/mongodb/theme.toml           |   14 +
 driver-async/README.md                             |  124 +
 driver-async/build.gradle                          |   52 +
 driver-async/src/examples/gridfs/GridFSTour.java   |  303 +
 driver-async/src/examples/gridfs/package-info.java |   20 +
 .../src/examples/primer/AggregatePrimer.java       |  107 +
 .../src/examples/primer/IndexesPrimer.java         |   62 +
 driver-async/src/examples/primer/InsertPrimer.java |   72 +
 .../src/examples/primer/PrimerTestCase.java        |   25 +
 driver-async/src/examples/primer/QueryPrimer.java  |  305 +
 driver-async/src/examples/primer/RemovePrimer.java |   82 +
 driver-async/src/examples/primer/UpdatePrimer.java |  105 +
 driver-async/src/examples/tour/QuickTour.java      |  272 +
 driver-async/src/examples/tour/QuickTourAdmin.java |  173 +
 driver-async/src/examples/tour/package-info.java   |   20 +
 .../mongodb/async/client/AbstractSubscription.java |  229 +
 .../mongodb/async/client/AggregateIterable.java    |   90 +
 .../async/client/AggregateIterableImpl.java        |  189 +
 .../client/AwaitingWriteOperationIterable.java     |  184 +
 .../com/mongodb/async/client/DistinctIterable.java |   59 +
 .../mongodb/async/client/DistinctIterableImpl.java |  121 +
 .../com/mongodb/async/client/FindIterable.java     |  156 +
 .../com/mongodb/async/client/FindIterableImpl.java |  207 +
 ...FlatteningSingleResultCallbackSubscription.java |   60 +
 .../async/client/ListCollectionsIterable.java      |   58 +
 .../async/client/ListCollectionsIterableImpl.java  |  126 +
 .../async/client/ListDatabasesIterable.java        |   46 +
 .../async/client/ListDatabasesIterableImpl.java    |  105 +
 .../mongodb/async/client/ListIndexesIterable.java  |   47 +
 .../async/client/ListIndexesIterableImpl.java      |  112 +
 .../mongodb/async/client/MapReduceIterable.java    |  184 +
 .../async/client/MapReduceIterableImpl.java        |  280 +
 .../async/client/MappingAsyncBatchCursor.java      |   79 +
 .../com/mongodb/async/client/MappingIterable.java  |  119 +
 .../main/com/mongodb/async/client/MongoClient.java |   82 +
 .../com/mongodb/async/client/MongoClientImpl.java  |  140 +
 .../mongodb/async/client/MongoClientSettings.java  |  473 ++
 .../com/mongodb/async/client/MongoClients.java     |  191 +
 .../com/mongodb/async/client/MongoCollection.java  |  624 +++
 .../mongodb/async/client/MongoCollectionImpl.java  |  657 +++
 .../com/mongodb/async/client/MongoDatabase.java    |  221 +
 .../mongodb/async/client/MongoDatabaseImpl.java    |  201 +
 .../com/mongodb/async/client/MongoIterable.java    |   83 +
 .../async/client/MongoIterableSubscription.java    |  126 +
 .../main/com/mongodb/async/client/Observable.java  |   44 +
 .../main/com/mongodb/async/client/Observables.java |  102 +
 .../main/com/mongodb/async/client/Observer.java    |   88 +
 .../mongodb/async/client/OperationIterable.java    |  158 +
 .../client/SingleResultCallbackSubscription.java   |   58 +
 .../com/mongodb/async/client/Subscription.java     |   63 +
 .../async/client/gridfs/AsyncInputStream.java      |   46 +
 .../async/client/gridfs/AsyncOutputStream.java     |   46 +
 .../mongodb/async/client/gridfs/GridFSBucket.java  |  368 ++
 .../async/client/gridfs/GridFSBucketImpl.java      |  446 ++
 .../mongodb/async/client/gridfs/GridFSBuckets.java |   52 +
 .../async/client/gridfs/GridFSDownloadStream.java  |   49 +
 .../client/gridfs/GridFSDownloadStreamImpl.java    |  313 ++
 .../async/client/gridfs/GridFSFindIterable.java    |  104 +
 .../client/gridfs/GridFSFindIterableImpl.java      |  105 +
 .../async/client/gridfs/GridFSIndexCheck.java      |   23 +
 .../async/client/gridfs/GridFSIndexCheckImpl.java  |  127 +
 .../async/client/gridfs/GridFSUploadStream.java    |   55 +
 .../client/gridfs/GridFSUploadStreamImpl.java      |  304 +
 .../client/gridfs/helpers/AsyncStreamHelper.java   |  221 +
 .../gridfs/helpers/AsynchronousChannelHelper.java  |  191 +
 .../async/client/gridfs/helpers/package-info.java  |   21 +
 .../mongodb/async/client/gridfs/package-info.java  |   21 +
 .../com/mongodb/async/client/package-info.java     |   20 +
 .../com/mongodb/async/client/CrudTest.java         |  436 ++
 .../com/mongodb/async/client/DatabaseTestCase.java |   74 +
 .../com/mongodb/async/client/Fixture.java          |  164 +
 .../async/client/ForEachSpecification.groovy       |   83 +
 .../async/client/FunctionalSpecification.groovy    |   46 +
 .../mongodb/async/client/MapSpecification.groovy   |   83 +
 ...oClientListenerRegistrationSpecification.groovy |   68 +
 .../async/client/MongoClientsSpecification.groovy  |  121 +
 ...reamFactoryFactorySmokeTestSpecification.groovy |   62 +
 .../async/client/SmokeTestSpecification.groovy     |  190 +
 .../com/mongodb/async/client/TargetDocument.java   |   78 +
 .../GridFSBucketSmokeTestSpecification.groovy      |  497 ++
 .../mongodb/async/client/gridfs/GridFSTest.java    |  463 ++
 .../async/client/gridfs/GridFSTestHelper.groovy    |  111 +
 .../AsyncStreamHelperTestSpecification.groovy      |  161 +
 ...onousChannelHelperSmokeTestSpecification.groovy |  112 +
 .../test/resources/GridFSAsync/GridFSTestFile.txt  |    1 +
 driver-async/src/test/resources/logback-test.xml   |   18 +
 .../client/AggregateIterableSpecification.groovy   |  298 +
 ...itingWriteOperationIterableSpecification.groovy |  338 ++
 .../client/DistinctIterableSpecification.groovy    |  235 +
 .../async/client/FindIterableSpecification.groovy  |  292 +
 ...eResultCallbackSubscriptionSpecification.groovy |  272 +
 .../ListCollectionsIterableSpecification.groovy    |  203 +
 .../ListDatabasesIterableSpecification.groovy      |  198 +
 .../client/ListIndexesIterableSpecification.groovy |  203 +
 .../client/MapReduceIterableSpecification.groovy   |  335 ++
 .../MappingAsyncBatchCursorSpecification.groovy    |  123 +
 .../client/MongoClientSettingsSpecification.groovy |  259 +
 .../async/client/MongoClientSpecification.groovy   |  103 +
 .../client/MongoCollectionSpecification.groovy     | 1082 ++++
 .../async/client/MongoDatabaseSpecification.groovy |  267 +
 .../MongoIterableSubscriptionSpecification.groovy  |  431 ++
 ...eResultCallbackSubscriptionSpecification.groovy |  295 +
 .../com/mongodb/async/client/TestObserver.java     |  263 +
 .../async/client/TestOperationExecutor.java        |  106 +
 .../client/gridfs/GridFSBucketSpecification.groovy |  791 +++
 .../GridFSDownloadStreamSpecification.groovy       |  430 ++
 .../gridfs/GridFSFindIterableSpecification.groovy  |  188 +
 .../gridfs/GridFSIndexCheckSpecification.groovy    |  369 ++
 .../gridfs/GridFSUploadStreamSpecification.groovy  |  438 ++
 driver-core/.gitignore                             |    0
 driver-core/build.gradle                           |   63 +
 .../main/com/mongodb/AuthenticationMechanism.java  |   94 +
 driver-core/src/main/com/mongodb/Block.java        |   32 +
 .../src/main/com/mongodb/ConnectionString.java     | 1065 ++++
 driver-core/src/main/com/mongodb/CursorType.java   |   65 +
 .../main/com/mongodb/DuplicateKeyException.java    |   40 +
 .../src/main/com/mongodb/ErrorCategory.java        |   65 +
 .../src/main/com/mongodb/ExplainVerbosity.java     |   44 +
 driver-core/src/main/com/mongodb/Function.java     |   35 +
 .../main/com/mongodb/MongoBulkWriteException.java  |  130 +
 .../src/main/com/mongodb/MongoClientException.java |   46 +
 .../main/com/mongodb/MongoCommandException.java    |   94 +
 .../src/main/com/mongodb/MongoCredential.java      |  426 ++
 .../com/mongodb/MongoCursorNotFoundException.java  |   60 +
 .../src/main/com/mongodb/MongoException.java       |   87 +
 .../mongodb/MongoExecutionTimeoutException.java    |   37 +
 .../src/main/com/mongodb/MongoGridFSException.java |   45 +
 .../mongodb/MongoIncompatibleDriverException.java  |   51 +
 .../main/com/mongodb/MongoInternalException.java   |   42 +
 .../com/mongodb/MongoInterruptedException.java     |   37 +
 .../src/main/com/mongodb/MongoNamespace.java       |  154 +
 .../mongodb/MongoNodeIsRecoveringException.java    |   36 +
 .../main/com/mongodb/MongoNotPrimaryException.java |   36 +
 .../src/main/com/mongodb/MongoQueryException.java  |   60 +
 .../main/com/mongodb/MongoSecurityException.java   |   60 +
 .../src/main/com/mongodb/MongoServerException.java |   59 +
 .../com/mongodb/MongoSocketClosedException.java    |   37 +
 .../src/main/com/mongodb/MongoSocketException.java |   59 +
 .../main/com/mongodb/MongoSocketOpenException.java |   37 +
 .../main/com/mongodb/MongoSocketReadException.java |   47 +
 .../mongodb/MongoSocketReadTimeoutException.java   |   39 +
 .../com/mongodb/MongoSocketWriteException.java     |   37 +
 .../main/com/mongodb/MongoTimeoutException.java    |   34 +
 .../com/mongodb/MongoWaitQueueFullException.java   |   37 +
 .../com/mongodb/MongoWriteConcernException.java    |   80 +
 .../src/main/com/mongodb/MongoWriteException.java  |   48 +
 driver-core/src/main/com/mongodb/ReadConcern.java  |  105 +
 .../src/main/com/mongodb/ReadConcernLevel.java     |   71 +
 .../src/main/com/mongodb/ReadPreference.java       |  330 ++
 .../src/main/com/mongodb/ServerAddress.java        |  232 +
 driver-core/src/main/com/mongodb/ServerCursor.java |  102 +
 driver-core/src/main/com/mongodb/Tag.java          |   96 +
 driver-core/src/main/com/mongodb/TagSet.java       |  123 +
 .../main/com/mongodb/TaggableReadPreference.java   |  259 +
 driver-core/src/main/com/mongodb/WriteConcern.java |  693 +++
 .../main/com/mongodb/WriteConcernException.java    |  129 +
 .../src/main/com/mongodb/WriteConcernResult.java   |  192 +
 driver-core/src/main/com/mongodb/WriteError.java   |  133 +
 .../src/main/com/mongodb/annotations/Beta.java     |   50 +
 .../main/com/mongodb/annotations/Immutable.java    |   37 +
 .../com/mongodb/annotations/NotThreadSafe.java     |   30 +
 .../main/com/mongodb/annotations/ThreadSafe.java   |   29 +
 .../main/com/mongodb/annotations/package-info.java |   20 +
 .../main/com/mongodb/assertions/Assertions.java    |  105 +
 .../main/com/mongodb/assertions/package-info.java  |   20 +
 .../main/com/mongodb/async/AsyncBatchCursor.java   |   66 +
 .../com/mongodb/async/SingleResultCallback.java    |   32 +
 .../src/main/com/mongodb/async/package-info.java   |   20 +
 .../mongodb/binding/AbstractReferenceCounted.java  |   42 +
 .../com/mongodb/binding/AsyncClusterBinding.java   |  117 +
 .../com/mongodb/binding/AsyncConnectionSource.java |   46 +
 .../main/com/mongodb/binding/AsyncReadBinding.java |   42 +
 .../com/mongodb/binding/AsyncReadWriteBinding.java |   28 +
 .../binding/AsyncSingleConnectionReadBinding.java  |  103 +
 .../com/mongodb/binding/AsyncWriteBinding.java     |   37 +
 .../main/com/mongodb/binding/ClusterBinding.java   |  101 +
 .../main/com/mongodb/binding/ConnectionSource.java |   45 +
 .../src/main/com/mongodb/binding/ReadBinding.java  |   41 +
 .../main/com/mongodb/binding/ReadWriteBinding.java |   28 +
 .../main/com/mongodb/binding/ReferenceCounted.java |   44 +
 .../binding/SingleConnectionReadBinding.java       |  104 +
 .../com/mongodb/binding/SingleServerBinding.java   |  112 +
 .../src/main/com/mongodb/binding/WriteBinding.java |   34 +
 .../src/main/com/mongodb/binding/package-info.java |   20 +
 .../src/main/com/mongodb/bulk/BulkWriteError.java  |   86 +
 .../src/main/com/mongodb/bulk/BulkWriteResult.java |  313 ++
 .../src/main/com/mongodb/bulk/BulkWriteUpsert.java |   94 +
 .../src/main/com/mongodb/bulk/DeleteRequest.java   |   75 +
 .../src/main/com/mongodb/bulk/IndexRequest.java    |  488 ++
 .../src/main/com/mongodb/bulk/InsertRequest.java   |   54 +
 .../src/main/com/mongodb/bulk/UpdateRequest.java   |  116 +
 .../main/com/mongodb/bulk/WriteConcernError.java   |  114 +
 .../src/main/com/mongodb/bulk/WriteRequest.java    |   60 +
 .../src/main/com/mongodb/bulk/package-info.java    |   20 +
 .../client/gridfs/codecs/GridFSFileCodec.java      |  122 +
 .../gridfs/codecs/GridFSFileCodecProvider.java     |   40 +
 .../mongodb/client/gridfs/codecs/package-info.java |   22 +
 .../gridfs/model/GridFSDownloadByNameOptions.java  |   70 +
 .../client/gridfs/model/GridFSDownloadOptions.java |   68 +
 .../mongodb/client/gridfs/model/GridFSFile.java    |  273 +
 .../client/gridfs/model/GridFSUploadOptions.java   |   80 +
 .../mongodb/client/gridfs/model/package-info.java  |   22 +
 .../com/mongodb/client/model/Accumulators.java     |  183 +
 .../main/com/mongodb/client/model/Aggregates.java  |  268 +
 .../main/com/mongodb/client/model/BsonField.java   |   65 +
 .../com/mongodb/client/model/BuildersHelper.java   |   41 +
 .../com/mongodb/client/model/BulkWriteOptions.java |   75 +
 .../com/mongodb/client/model/CountOptions.java     |  145 +
 .../client/model/CreateCollectionOptions.java      |  213 +
 .../com/mongodb/client/model/DeleteManyModel.java  |   51 +
 .../com/mongodb/client/model/DeleteOneModel.java   |   51 +
 .../src/main/com/mongodb/client/model/Filters.java | 1205 ++++
 .../client/model/FindOneAndDeleteOptions.java      |  105 +
 .../client/model/FindOneAndReplaceOptions.java     |  172 +
 .../client/model/FindOneAndUpdateOptions.java      |  172 +
 .../main/com/mongodb/client/model/FindOptions.java |  371 ++
 .../main/com/mongodb/client/model/IndexModel.java  |   70 +
 .../mongodb/client/model/IndexOptionDefaults.java  |   51 +
 .../com/mongodb/client/model/IndexOptions.java     |  426 ++
 .../src/main/com/mongodb/client/model/Indexes.java |  215 +
 .../mongodb/client/model/InsertManyOptions.java    |   74 +
 .../com/mongodb/client/model/InsertOneModel.java   |   48 +
 .../com/mongodb/client/model/InsertOneOptions.java |   49 +
 .../com/mongodb/client/model/MapReduceAction.java  |   62 +
 .../model/ParallelCollectionScanOptions.java       |   51 +
 .../main/com/mongodb/client/model/Projections.java |  255 +
 .../main/com/mongodb/client/model/PushOptions.java |  139 +
 .../client/model/RenameCollectionOptions.java      |   48 +
 .../com/mongodb/client/model/ReplaceOneModel.java  |   84 +
 .../com/mongodb/client/model/ReturnDocument.java   |   34 +
 .../com/mongodb/client/model/SimpleExpression.java |   50 +
 .../src/main/com/mongodb/client/model/Sorts.java   |  158 +
 .../mongodb/client/model/TextSearchOptions.java    |  103 +
 .../com/mongodb/client/model/UnwindOptions.java    |   70 +
 .../com/mongodb/client/model/UpdateManyModel.java  |   90 +
 .../com/mongodb/client/model/UpdateOneModel.java   |   87 +
 .../com/mongodb/client/model/UpdateOptions.java    |   74 +
 .../src/main/com/mongodb/client/model/Updates.java |  633 +++
 .../com/mongodb/client/model/ValidationAction.java |   70 +
 .../com/mongodb/client/model/ValidationLevel.java  |   75 +
 .../mongodb/client/model/ValidationOptions.java    |   95 +
 .../main/com/mongodb/client/model/WriteModel.java  |   28 +
 .../model/geojson/CoordinateReferenceSystem.java   |   35 +
 .../geojson/CoordinateReferenceSystemType.java     |   49 +
 .../client/model/geojson/GeoJsonObjectType.java    |   74 +
 .../com/mongodb/client/model/geojson/Geometry.java |  114 +
 .../client/model/geojson/GeometryCollection.java   |  103 +
 .../mongodb/client/model/geojson/LineString.java   |  108 +
 .../client/model/geojson/MultiLineString.java      |  110 +
 .../mongodb/client/model/geojson/MultiPoint.java   |  106 +
 .../mongodb/client/model/geojson/MultiPolygon.java |  103 +
 .../geojson/NamedCoordinateReferenceSystem.java    |  106 +
 .../com/mongodb/client/model/geojson/Point.java    |  107 +
 .../com/mongodb/client/model/geojson/Polygon.java  |  131 +
 .../client/model/geojson/PolygonCoordinates.java   |  112 +
 .../com/mongodb/client/model/geojson/Position.java |  103 +
 .../model/geojson/codecs/GeoJsonCodecProvider.java |   60 +
 .../model/geojson/codecs/GeometryCodecHelper.java  |   89 +
 .../geojson/codecs/GeometryCollectionCodec.java    |   79 +
 .../model/geojson/codecs/LineStringCodec.java      |   71 +
 .../model/geojson/codecs/MultiLineStringCodec.java |   77 +
 .../model/geojson/codecs/MultiPointCodec.java      |   71 +
 .../model/geojson/codecs/MultiPolygonCodec.java    |   71 +
 .../NamedCoordinateReferenceSystemCodec.java       |   52 +
 .../client/model/geojson/codecs/PointCodec.java    |   68 +
 .../client/model/geojson/codecs/PolygonCodec.java  |   68 +
 .../client/model/geojson/codecs/package-info.java  |   20 +
 .../mongodb/client/model/geojson/package-info.java |   20 +
 .../com/mongodb/client/model/package-info.java     |   20 +
 .../src/main/com/mongodb/client/package-info.java  |   20 +
 .../com/mongodb/client/result/DeleteResult.java    |  143 +
 .../com/mongodb/client/result/UpdateResult.java    |  222 +
 .../com/mongodb/client/result/package-info.java    |   20 +
 .../connection/AbstractReferenceCounted.java       |   44 +
 .../mongodb/connection/AsyncCompletionHandler.java |   39 +
 .../com/mongodb/connection/AsyncConnection.java    |  260 +
 .../connection/AsyncWritableByteChannel.java       |   73 +
 .../AsynchronousSocketChannelStream.java           |  275 +
 .../AsynchronousSocketChannelStreamFactory.java    |   53 +
 ...nchronousSocketChannelStreamFactoryFactory.java |   30 +
 .../main/com/mongodb/connection/Authenticator.java |   37 +
 .../main/com/mongodb/connection/Base64Codec.java   |  137 +
 .../main/com/mongodb/connection/BaseCluster.java   |  482 ++
 .../com/mongodb/connection/BaseQueryMessage.java   |  232 +
 .../connection/BaseWriteCommandMessage.java        |  197 +
 .../com/mongodb/connection/BufferProvider.java     |   34 +
 .../mongodb/connection/BulkWriteBatchCombiner.java |  223 +
 .../mongodb/connection/ByteBufBsonDocument.java    |  348 ++
 .../mongodb/connection/ByteBufferBsonOutput.java   |  216 +
 .../main/com/mongodb/connection/ChangeEvent.java   |   94 +
 .../com/mongodb/connection/ChangeListener.java     |   31 +
 .../src/main/com/mongodb/connection/Cluster.java   |   68 +
 .../mongodb/connection/ClusterConnectionMode.java  |   34 +
 .../com/mongodb/connection/ClusterDescription.java |  338 ++
 .../com/mongodb/connection/ClusterFactory.java     |   61 +
 .../src/main/com/mongodb/connection/ClusterId.java |  110 +
 .../com/mongodb/connection/ClusterSettings.java    |  451 ++
 .../main/com/mongodb/connection/ClusterType.java   |   44 +
 .../com/mongodb/connection/ClusterableServer.java  |   47 +
 .../connection/ClusterableServerFactory.java       |   26 +
 .../main/com/mongodb/connection/CommandHelper.java |  175 +
 .../com/mongodb/connection/CommandMessage.java     |   78 +
 .../com/mongodb/connection/CommandProtocol.java    |  285 +
 .../connection/CommandResultBaseCallback.java      |   53 +
 .../mongodb/connection/CommandResultCallback.java  |   61 +
 .../com/mongodb/connection/CompositeByteBuf.java   |  343 ++
 .../main/com/mongodb/connection/Connection.java    |  255 +
 .../mongodb/connection/ConnectionDescription.java  |  205 +
 .../com/mongodb/connection/ConnectionFactory.java  |   24 +
 .../main/com/mongodb/connection/ConnectionId.java  |  131 +
 .../com/mongodb/connection/ConnectionPool.java     |   35 +
 .../mongodb/connection/ConnectionPoolSettings.java |  387 ++
 .../mongodb/connection/DefaultAuthenticator.java   |   48 +
 .../mongodb/connection/DefaultClusterFactory.java  |   95 +
 .../DefaultClusterableServerFactory.java           |   86 +
 .../connection/DefaultConnectionFactory.java       |   31 +
 .../mongodb/connection/DefaultConnectionPool.java  |  531 ++
 .../main/com/mongodb/connection/DefaultServer.java |  199 +
 .../connection/DefaultServerConnection.java        |  300 +
 .../mongodb/connection/DefaultServerMonitor.java   |  289 +
 .../connection/DefaultServerMonitorFactory.java    |   39 +
 .../mongodb/connection/DeleteCommandMessage.java   |  103 +
 .../mongodb/connection/DeleteCommandProtocol.java  |  107 +
 .../main/com/mongodb/connection/DeleteMessage.java |   76 +
 .../com/mongodb/connection/DeleteProtocol.java     |  116 +
 .../com/mongodb/connection/DescriptionHelper.java  |  190 +
 .../ExponentiallyWeightedMovingAverage.java        |   50 +
 .../connection/FutureAsyncCompletionHandler.java   |   74 +
 .../mongodb/connection/GSSAPIAuthenticator.java    |  100 +
 .../com/mongodb/connection/GetMoreMessage.java     |   70 +
 .../com/mongodb/connection/GetMoreProtocol.java    |  267 +
 .../mongodb/connection/InsertCommandMessage.java   |  113 +
 .../mongodb/connection/InsertCommandProtocol.java  |  112 +
 .../main/com/mongodb/connection/InsertMessage.java |  100 +
 .../com/mongodb/connection/InsertProtocol.java     |  120 +
 .../com/mongodb/connection/InternalConnection.java |   99 +
 .../connection/InternalConnectionFactory.java      |   21 +
 .../connection/InternalConnectionInitializer.java  |   27 +
 .../connection/InternalStreamConnection.java       |  683 +++
 .../InternalStreamConnectionFactory.java           |   69 +
 .../InternalStreamConnectionInitializer.java       |  206 +
 .../com/mongodb/connection/KillCursorProtocol.java |  175 +
 .../com/mongodb/connection/KillCursorsMessage.java |   61 +
 .../com/mongodb/connection/MessageSettings.java    |  130 +
 .../com/mongodb/connection/MultiServerCluster.java |  398 ++
 .../mongodb/connection/NativeAuthenticator.java    |   88 +
 .../mongodb/connection/NoOpClusterListener.java    |   22 +
 .../mongodb/connection/NoOpConnectionListener.java |   22 +
 .../connection/NoOpConnectionPoolListener.java     |   22 +
 .../com/mongodb/connection/NoOpServerListener.java |   37 +
 .../connection/NoOpServerMonitorListener.java      |   37 +
 .../com/mongodb/connection/PlainAuthenticator.java |   75 +
 .../src/main/com/mongodb/connection/Protocol.java  |   45 +
 .../com/mongodb/connection/ProtocolExecutor.java   |   25 +
 .../com/mongodb/connection/ProtocolHelper.java     |  241 +
 .../main/com/mongodb/connection/QueryMessage.java  |   65 +
 .../main/com/mongodb/connection/QueryProtocol.java |  563 ++
 .../main/com/mongodb/connection/QueryResult.java   |   99 +
 .../main/com/mongodb/connection/ReplyHeader.java   |  177 +
 .../main/com/mongodb/connection/ReplyMessage.java  |   93 +
 .../com/mongodb/connection/RequestMessage.java     |  279 +
 .../com/mongodb/connection/ResponseBuffers.java    |   71 +
 .../com/mongodb/connection/ResponseCallback.java   |   55 +
 .../com/mongodb/connection/SaslAuthenticator.java  |  223 +
 .../mongodb/connection/ScramSha1Authenticator.java |  316 ++
 .../mongodb/connection/SendMessageCallback.java    |   68 +
 .../src/main/com/mongodb/connection/Server.java    |   58 +
 .../mongodb/connection/ServerConnectionState.java  |   34 +
 .../com/mongodb/connection/ServerDescription.java  |  836 +++
 .../src/main/com/mongodb/connection/ServerId.java  |   97 +
 .../main/com/mongodb/connection/ServerMonitor.java |   29 +
 .../mongodb/connection/ServerMonitorFactory.java   |   23 +
 .../com/mongodb/connection/ServerSettings.java     |  232 +
 .../main/com/mongodb/connection/ServerType.java    |  112 +
 .../main/com/mongodb/connection/ServerVersion.java |  115 +
 .../mongodb/connection/SingleServerCluster.java    |  124 +
 .../mongodb/connection/SocketChannelStream.java    |  143 +
 .../com/mongodb/connection/SocketSettings.java     |  245 +
 .../main/com/mongodb/connection/SocketStream.java  |  140 +
 .../mongodb/connection/SocketStreamFactory.java    |   77 +
 .../com/mongodb/connection/SocketStreamHelper.java |   55 +
 .../main/com/mongodb/connection/SslSettings.java   |  168 +
 .../src/main/com/mongodb/connection/Stream.java    |   99 +
 .../main/com/mongodb/connection/StreamFactory.java |   34 +
 .../mongodb/connection/StreamFactoryFactory.java   |   34 +
 .../mongodb/connection/UpdateCommandMessage.java   |  150 +
 .../mongodb/connection/UpdateCommandProtocol.java  |  108 +
 .../main/com/mongodb/connection/UpdateMessage.java |   94 +
 .../com/mongodb/connection/UpdateProtocol.java     |  142 +
 .../UsageTrackingInternalConnection.java           |  168 +
 .../mongodb/connection/WriteCommandProtocol.java   |  317 ++
 .../connection/WriteCommandResultHelper.java       |  116 +
 .../main/com/mongodb/connection/WriteProtocol.java |  440 ++
 .../com/mongodb/connection/X509Authenticator.java  |   79 +
 .../connection/netty/NettyBufferProvider.java      |   40 +
 .../com/mongodb/connection/netty/NettyByteBuf.java |  239 +
 .../com/mongodb/connection/netty/NettyStream.java  |  409 ++
 .../connection/netty/NettyStreamFactory.java       |   94 +
 .../netty/NettyStreamFactoryFactory.java           |  153 +
 .../connection/netty/ReadTimeoutHandler.java       |   78 +
 .../com/mongodb/connection/netty/package-info.java |   20 +
 .../main/com/mongodb/connection/package-info.java  |   20 +
 .../com/mongodb/diagnostics/logging/JULLogger.java |  128 +
 .../com/mongodb/diagnostics/logging/Logger.java    |  146 +
 .../com/mongodb/diagnostics/logging/Loggers.java   |   69 +
 .../mongodb/diagnostics/logging/SLF4JLogger.java   |  108 +
 .../mongodb/diagnostics/logging/package-info.java  |   20 +
 .../main/com/mongodb/event/ClusterClosedEvent.java |   57 +
 .../event/ClusterDescriptionChangedEvent.java      |   83 +
 .../com/mongodb/event/ClusterEventMulticaster.java |   99 +
 .../main/com/mongodb/event/ClusterListener.java    |   47 +
 .../com/mongodb/event/ClusterListenerAdapter.java  |   37 +
 .../com/mongodb/event/ClusterOpeningEvent.java     |   58 +
 .../src/main/com/mongodb/event/CommandEvent.java   |   70 +
 .../com/mongodb/event/CommandEventMulticaster.java |  103 +
 .../main/com/mongodb/event/CommandFailedEvent.java |   64 +
 .../main/com/mongodb/event/CommandListener.java    |   43 +
 .../mongodb/event/CommandListenerMulticaster.java  |   68 +
 .../com/mongodb/event/CommandStartedEvent.java     |   63 +
 .../com/mongodb/event/CommandSucceededEvent.java   |   65 +
 .../com/mongodb/event/ConnectionAddedEvent.java    |   56 +
 .../mongodb/event/ConnectionCheckedInEvent.java    |   56 +
 .../mongodb/event/ConnectionCheckedOutEvent.java   |   56 +
 .../com/mongodb/event/ConnectionClosedEvent.java   |   57 +
 .../mongodb/event/ConnectionEventMulticaster.java  |   78 +
 .../main/com/mongodb/event/ConnectionListener.java |   56 +
 .../mongodb/event/ConnectionListenerAdapter.java   |   43 +
 .../event/ConnectionMessageReceivedEvent.java      |   81 +
 .../mongodb/event/ConnectionMessagesSentEvent.java |   82 +
 .../com/mongodb/event/ConnectionOpenedEvent.java   |   56 +
 .../mongodb/event/ConnectionPoolClosedEvent.java   |   56 +
 .../event/ConnectionPoolEventMulticaster.java      |  107 +
 .../com/mongodb/event/ConnectionPoolListener.java  |   83 +
 .../event/ConnectionPoolListenerAdapter.java       |   59 +
 .../mongodb/event/ConnectionPoolOpenedEvent.java   |   69 +
 .../event/ConnectionPoolWaitQueueEnteredEvent.java |   66 +
 .../event/ConnectionPoolWaitQueueExitedEvent.java  |   66 +
 .../com/mongodb/event/ConnectionRemovedEvent.java  |   56 +
 .../main/com/mongodb/event/ServerClosedEvent.java  |   56 +
 .../event/ServerDescriptionChangedEvent.java       |   86 +
 .../com/mongodb/event/ServerEventMulticaster.java  |  100 +
 .../mongodb/event/ServerHeartbeatFailedEvent.java  |   88 +
 .../mongodb/event/ServerHeartbeatStartedEvent.java |   56 +
 .../event/ServerHeartbeatSucceededEvent.java       |   88 +
 .../src/main/com/mongodb/event/ServerListener.java |   49 +
 .../event/ServerMonitorEventMulticaster.java       |   99 +
 .../com/mongodb/event/ServerMonitorListener.java   |   51 +
 .../main/com/mongodb/event/ServerOpeningEvent.java |   56 +
 .../src/main/com/mongodb/event/package-info.java   |   20 +
 .../src/main/com/mongodb/internal/HexUtils.java    |   82 +
 .../async/ErrorHandlingResultCallback.java         |   55 +
 .../authentication/NativeAuthenticationHelper.java |   82 +
 .../internal/connection/ConcurrentLinkedDeque.java |  904 +++
 .../internal/connection/ConcurrentPool.java        |  241 +
 .../com/mongodb/internal/connection/IndexMap.java  |  137 +
 .../main/com/mongodb/internal/connection/Pool.java |   31 +
 .../internal/connection/PowerOfTwoBufferPool.java  |  127 +
 .../com/mongodb/internal/connection/SslHelper.java |   38 +
 .../internal/management/jmx/JMXMBeanServer.java    |   54 +
 .../internal/thread/DaemonThreadFactory.java       |   48 +
 .../CollectibleDocumentFieldNameValidator.java     |   54 +
 .../validator/MappedFieldNameValidator.java        |   59 +
 .../internal/validator/NoOpFieldNameValidator.java |   36 +
 .../validator/UpdateFieldNameValidator.java        |   36 +
 .../management/ConnectionPoolStatistics.java       |  111 +
 .../management/ConnectionPoolStatisticsMBean.java  |   76 +
 .../management/JMXConnectionPoolListener.java      |  155 +
 .../main/com/mongodb/management/MBeanServer.java   |   37 +
 .../com/mongodb/management/MBeanServerFactory.java |   55 +
 .../com/mongodb/management/NullMBeanServer.java    |   30 +
 .../main/com/mongodb/management/package-info.java  |   20 +
 .../operation/AggregateExplainOperation.java       |  104 +
 .../com/mongodb/operation/AggregateOperation.java  |  349 ++
 .../operation/AggregateToCollectionOperation.java  |  202 +
 .../mongodb/operation/AsyncOperationExecutor.java  |   46 +
 .../mongodb/operation/AsyncQueryBatchCursor.java   |  281 +
 .../com/mongodb/operation/AsyncReadOperation.java  |   38 +
 .../com/mongodb/operation/AsyncWriteOperation.java |   38 +
 .../com/mongodb/operation/BaseWriteOperation.java  |  302 +
 .../main/com/mongodb/operation/BatchCursor.java    |   96 +
 .../com/mongodb/operation/BsonArrayWrapper.java    |  207 +
 .../operation/BsonDocumentWrapperHelper.java       |   41 +
 .../mongodb/operation/CommandOperationHelper.java  |  474 ++
 .../mongodb/operation/CommandReadOperation.java    |   62 +
 .../mongodb/operation/CommandResultArrayCodec.java |   63 +
 .../operation/CommandResultCodecProvider.java      |  137 +
 .../operation/CommandResultDocumentCodec.java      |   59 +
 .../mongodb/operation/CommandWriteOperation.java   |   62 +
 .../main/com/mongodb/operation/CountOperation.java |  290 +
 .../operation/CreateCollectionOperation.java       |  347 ++
 .../mongodb/operation/CreateIndexesOperation.java  |  253 +
 .../com/mongodb/operation/CreateUserOperation.java |  137 +
 .../com/mongodb/operation/CurrentOpOperation.java  |   54 +
 .../main/com/mongodb/operation/CursorHelper.java   |   58 +
 .../com/mongodb/operation/DeleteOperation.java     |   95 +
 .../com/mongodb/operation/DistinctOperation.java   |  233 +
 .../main/com/mongodb/operation/DocumentHelper.java |   53 +
 .../mongodb/operation/DropCollectionOperation.java |   80 +
 .../mongodb/operation/DropDatabaseOperation.java   |   58 +
 .../com/mongodb/operation/DropIndexOperation.java  |   94 +
 .../com/mongodb/operation/DropUserOperation.java   |  118 +
 .../main/com/mongodb/operation/ExplainHelper.java  |   47 +
 .../mongodb/operation/FindAndDeleteOperation.java  |  253 +
 .../com/mongodb/operation/FindAndModifyHelper.java |   65 +
 .../mongodb/operation/FindAndReplaceOperation.java |  352 ++
 .../mongodb/operation/FindAndUpdateOperation.java  |  354 ++
 .../main/com/mongodb/operation/FindOperation.java  |  896 +++
 .../mongodb/operation/FsyncUnlockOperation.java    |   54 +
 .../main/com/mongodb/operation/GroupOperation.java |  261 +
 .../main/com/mongodb/operation/IndexHelper.java    |   50 +
 .../com/mongodb/operation/InsertOperation.java     |   94 +
 .../operation/ListCollectionsOperation.java        |  431 ++
 .../mongodb/operation/ListDatabasesOperation.java  |  161 +
 .../mongodb/operation/ListIndexesOperation.java    |  258 +
 .../operation/MapReduceAsyncBatchCursor.java       |   35 +
 .../mongodb/operation/MapReduceBatchCursor.java    |   33 +
 .../com/mongodb/operation/MapReduceHelper.java     |   46 +
 .../MapReduceInlineResultsAsyncCursor.java         |   42 +
 .../operation/MapReduceInlineResultsCursor.java    |   42 +
 .../com/mongodb/operation/MapReduceStatistics.java |   81 +
 .../operation/MapReduceToCollectionOperation.java  |  526 ++
 .../MapReduceWithInlineResultsOperation.java       |  448 ++
 .../mongodb/operation/MixedBulkWriteOperation.java |  751 +++
 .../com/mongodb/operation/OperationExecutor.java   |   45 +
 .../com/mongodb/operation/OperationHelper.java     |  316 ++
 .../src/main/com/mongodb/operation/OrderBy.java    |   66 +
 .../operation/ParallelCollectionScanOperation.java |  238 +
 .../com/mongodb/operation/QueryBatchCursor.java    |  279 +
 .../main/com/mongodb/operation/QueryHelper.java    |   37 +
 .../main/com/mongodb/operation/ReadOperation.java  |   35 +
 .../operation/RenameCollectionOperation.java       |   98 +
 .../com/mongodb/operation/UpdateOperation.java     |   98 +
 .../com/mongodb/operation/UpdateUserOperation.java |  141 +
 .../com/mongodb/operation/UserExistsOperation.java |  146 +
 .../com/mongodb/operation/UserOperationHelper.java |   66 +
 .../main/com/mongodb/operation/WriteOperation.java |   36 +
 .../main/com/mongodb/operation/package-info.java   |   21 +
 driver-core/src/main/com/mongodb/package-info.java |   20 +
 .../mongodb/selector/CompositeServerSelector.java  |   79 +
 .../selector/LatencyMinimizingServerSelector.java  |  103 +
 .../mongodb/selector/PrimaryServerSelector.java    |   43 +
 .../selector/ReadPreferenceServerSelector.java     |   69 +
 .../mongodb/selector/ServerAddressSelector.java    |   70 +
 .../main/com/mongodb/selector/ServerSelector.java  |   43 +
 .../mongodb/selector/WritableServerSelector.java   |   41 +
 .../main/com/mongodb/selector/package-info.java    |   20 +
 .../functional/com/mongodb/ClusterFixture.java     |  398 ++
 .../functional/com/mongodb/FunctionalTest.java     |   61 +
 .../OperationFunctionalSpecification.groovy        |   88 +
 .../binding/AsyncSingleConnectionBinding.java      |  210 +
 .../binding/AsyncSingleConnectionBindingTest.java  |  144 +
 .../mongodb/binding/SingleConnectionBinding.java   |  152 +
 .../binding/SingleConnectionBindingTest.java       |  135 +
 .../model/AggregatesFunctionalSpecification.groovy |  226 +
 .../ArrayUpdatesFunctionalSpecification.groovy     |  161 +
 .../BitwiseUpdatesFunctionalSpecification.groovy   |   99 +
 .../model/FiltersFunctionalSpecification.groovy    |  298 +
 .../model/GeoFiltersFunctionalSpecification.groovy |   77 +
 .../GeoJsonFiltersFunctionalSpecification.groovy   |   81 +
 .../model/IndexesFunctionalSpecification.groovy    |  143 +
 .../model/ProjectionFunctionalSpecification.groovy |  120 +
 .../model/SortsFunctionalSpecification.groovy      |   79 +
 .../model/UpdatesFunctionalSpecification.groovy    |  188 +
 .../com/mongodb/client/test/CollectionHelper.java  |  312 ++
 .../functional/com/mongodb/client/test/Worker.java |  112 +
 .../com/mongodb/client/test/WorkerCodec.java       |   72 +
 .../mongodb/client/test/WorkerCodecProvider.java   |   36 +
 .../AsyncStreamTimeoutsSpecification.groovy        |  118 +
 .../connection/AuthenticatingConnectionTest.java   |  104 +
 .../connection/CommandHelperSpecification.groovy   |   58 +
 ...CommandProtocolCommandEventSpecification.groovy |  119 +
 .../connection/ConnectionSpecification.groovy      |   71 +
 .../connection/DefaultConnectionPoolTest.java      |  270 +
 .../GSSAPIAuthenticationSpecification.groovy       |  208 +
 ...GetMoreProtocolCommandEventSpecification.groovy |  119 +
 ...lCursorProtocolCommandEventSpecification.groovy |  102 +
 .../PlainAuthenticationSpecification.groovy        |  121 +
 .../mongodb/connection/PlainAuthenticatorTest.java |   72 +
 .../com/mongodb/connection/ProtocolTestHelper.java |   36 +
 .../QueryProtocolCommandEventSpecification.groovy  |  344 ++
 .../QueueEventsConnectionPoolListener.java         |   41 +
 .../connection/ReplyHeaderSpecification.groovy     |  149 +
 .../com/mongodb/connection/ServerHelper.java       |   75 +
 .../connection/ServerMonitorSpecification.groovy   |  168 +
 .../connection/SingleServerClusterTest.java        |   79 +
 .../mongodb/connection/TestCommandListener.java    |  171 +
 ...CommandProtocolCommandEventSpecification.groovy |  218 +
 .../WriteCommandProtocolSpecification.groovy       |  256 +
 .../WriteProtocolCommandEventSpecification.groovy  |  409 ++
 .../connection/WriteProtocolSpecification.groovy   |  262 +
 .../AggregateOperationSpecification.groovy         |  467 ++
 ...regateToCollectionOperationSpecification.groovy |  371 ++
 ...cQueryBatchCursorFunctionalSpecification.groovy |  375 ++
 .../operation/CommandOperationSpecification.groovy |  152 +
 .../operation/CountOperationSpecification.groovy   |  497 ++
 .../CreateCollectionOperationSpecification.groovy  |  239 +
 .../CreateIndexesOperationSpecification.groovy     |  490 ++
 .../CurrentOpOperationSpecification.groovy         |   34 +
 .../operation/DeleteOperationSpecification.groovy  |  101 +
 .../DistinctOperationSpecification.groovy          |  475 ++
 .../DropCollectionOperationSpecification.groovy    |   87 +
 .../DropDatabaseOperationSpecification.groovy      |   86 +
 .../DropIndexOperationSpecification.groovy         |  186 +
 .../DropUserOperationSpecification.groovy          |   39 +
 .../FindAndDeleteOperationSpecification.groovy     |  329 ++
 .../FindAndReplaceOperationSpecification.groovy    |  541 ++
 .../FindAndUpdateOperationSpecification.groovy     |  532 ++
 .../operation/FindOperationSpecification.groovy    |  966 ++++
 .../FsyncUnlockOperationSpecification.groovy       |   48 +
 .../operation/GroupOperationSpecification.groovy   |  208 +
 .../operation/InsertOperationSpecification.groovy  |  327 ++
 .../ListCollectionsOperationSpecification.groovy   |  499 ++
 .../ListDatabasesOperationSpecification.groovy     |  170 +
 .../ListIndexesOperationSpecification.groovy       |  333 ++
 ...ReduceToCollectionOperationSpecification.groovy |  400 ++
 ...eWithInlineResultsOperationSpecification.groovy |  376 ++
 ...ixedBulkWriteOperationAsyncSpecification.groovy |  759 +++
 .../MixedBulkWriteOperationSpecification.groovy    |  823 +++
 ...llelCollectionScanOperationSpecification.groovy |  304 +
 .../QueryBatchCursorFunctionalSpecification.groovy |  574 ++
 .../RenameCollectionOperationSpecification.groovy  |  101 +
 ...dateOperationForReplacementSpecification.groovy |  200 +
 .../operation/UpdateOperationSpecification.groovy  |  241 +
 .../operation/UserOperationsSpecification.groovy   |  434 ++
 .../resources/command-monitoring/bulkWrite.json    |  161 +
 .../test/resources/command-monitoring/command.json |  113 +
 .../resources/command-monitoring/deleteMany.json   |  115 +
 .../resources/command-monitoring/deleteOne.json    |  115 +
 .../test/resources/command-monitoring/find.json    |  532 ++
 .../resources/command-monitoring/insertMany.json   |  143 +
 .../resources/command-monitoring/insertOne.json    |   97 +
 .../resources/command-monitoring/updateMany.json   |  137 +
 .../resources/command-monitoring/updateOne.json    |  195 +
 .../resources/connection-string/invalid-uris.json  |  220 +
 .../resources/connection-string/valid-auth.json    |  330 ++
 .../connection-string/valid-host_identifiers.json  |  154 +
 .../resources/connection-string/valid-options.json |   42 +
 .../valid-unix_socket-absolute.json                |  251 +
 .../valid-unix_socket-relative.json                |  271 +
 .../connection-string/valid-warnings.json          |   68 +
 .../src/test/resources/crud/read/aggregate.json    |  104 +
 .../src/test/resources/crud/read/count.json        |   60 +
 .../src/test/resources/crud/read/distinct.json     |   55 +
 driver-core/src/test/resources/crud/read/find.json |  105 +
 .../src/test/resources/crud/write/deleteMany.json  |   76 +
 .../src/test/resources/crud/write/deleteOne.json   |   96 +
 .../resources/crud/write/findOneAndDelete.json     |  127 +
 .../resources/crud/write/findOneAndReplace.json    |  366 ++
 .../resources/crud/write/findOneAndUpdate.json     |  382 ++
 .../src/test/resources/crud/write/insertMany.json  |   52 +
 .../src/test/resources/crud/write/insertOne.json   |   39 +
 .../src/test/resources/crud/write/replaceOne.json  |  199 +
 .../src/test/resources/crud/write/updateMany.json  |  178 +
 .../src/test/resources/crud/write/updateOne.json   |  162 +
 .../src/test/resources/gridfs-tests/delete.json    |  412 ++
 .../src/test/resources/gridfs-tests/download.json  |  529 ++
 .../resources/gridfs-tests/download_by_name.json   |  255 +
 .../src/test/resources/gridfs-tests/upload.json    |  391 ++
 driver-core/src/test/resources/logback-test.xml    |   18 +
 .../test/resources/read-concern/read-concern.json  |   23 +
 .../replica_set_with_no_primary.json               |  147 +
 .../replica_set_with_primary.json                  |  147 +
 .../replica_set_with_removal.json                  |  152 +
 .../required_replica_set.json                      |  149 +
 .../standalone.json                                |  104 +
 .../rs/discover_arbiters.json                      |   38 +
 .../rs/discover_passives.json                      |   72 +
 .../rs/discover_primary.json                       |   36 +
 .../rs/discover_secondary.json                     |   37 +
 .../rs/discovery.json                              |  163 +
 .../rs/equal_electionids.json                      |   62 +
 .../rs/ghost_discovered.json                       |   32 +
 .../rs/hosts_differ_from_seeds.json                |   31 +
 .../rs/ignore_secondary_electionid.json            |   38 +
 .../rs/member_reconfig.json                        |   61 +
 .../rs/member_standalone.json                      |   52 +
 .../rs/new_primary.json                            |   66 +
 .../rs/new_primary_new_electionid.json             |  123 +
 .../rs/new_primary_new_setversion.json             |  123 +
 .../rs/new_primary_wrong_set_name.json             |   61 +
 .../rs/non_rs_member.json                          |   26 +
 .../rs/normalize_case.json                         |   45 +
 .../rs/null_election_id.json                       |  174 +
 .../rs/primary_becomes_standalone.json             |   46 +
 .../rs/primary_changes_set_name.json               |   51 +
 .../rs/primary_disconnect.json                     |   49 +
 .../rs/primary_disconnect_electionid.json          |  197 +
 .../rs/primary_disconnect_setversion.json          |  197 +
 .../rs/primary_mismatched_me.json                  |   37 +
 .../rs/primary_to_no_primary_mismatched_me.json    |   68 +
 .../rs/primary_wrong_set_name.json                 |   26 +
 .../rs/response_from_removed.json                  |   58 +
 .../rs/rsother_discovered.json                     |   59 +
 .../rs/sec_not_auth.json                           |   49 +
 .../rs/secondary_mismatched_me.json                |   37 +
 .../rs/secondary_wrong_set_name.json               |   27 +
 .../rs/secondary_wrong_set_name_with_primary.json  |   63 +
 .../rs/setversion_without_electionid.json          |   74 +
 .../rs/stepdown_change_set_name.json               |   52 +
 .../rs/unexpected_mongos.json                      |   23 +
 .../rs/use_setversion_without_electionid.json      |  114 +
 .../rs/wrong_set_name.json                         |   33 +
 .../sharded/mongos_disconnect.json                 |   88 +
 .../sharded/multiple_mongoses.json                 |   40 +
 .../sharded/non_mongos_removed.json                |   39 +
 .../sharded/normalize_uri_case.json                |   23 +
 .../single/direct_connection_external_ip.json      |   31 +
 .../single/direct_connection_mongos.json           |   28 +
 .../single/direct_connection_rsarbiter.json        |   32 +
 .../single/direct_connection_rsprimary.json        |   31 +
 .../single/direct_connection_rssecondary.json      |   32 +
 .../single/direct_connection_slave.json            |   27 +
 .../single/direct_connection_standalone.json       |   27 +
 .../single/not_ok_response.json                    |   34 +
 .../single/standalone_removed.json                 |   27 +
 .../single/unavailable_seed.json                   |   24 +
 .../server-selection/rtt/first_value.json          |    5 +
 .../server-selection/rtt/first_value_zero.json     |    5 +
 .../server-selection/rtt/value_test_1.json         |    5 +
 .../server-selection/rtt/value_test_2.json         |    5 +
 .../server-selection/rtt/value_test_3.json         |    5 +
 .../server-selection/rtt/value_test_4.json         |    5 +
 .../server-selection/rtt/value_test_5.json         |    5 +
 .../ReplicaSetNoPrimary/read/Nearest.json          |   60 +
 .../read/Nearest_non_matching.json                 |   34 +
 .../ReplicaSetNoPrimary/read/Primary.json          |   32 +
 .../ReplicaSetNoPrimary/read/PrimaryPreferred.json |   58 +
 .../read/PrimaryPreferred_non_matching.json        |   34 +
 .../ReplicaSetNoPrimary/read/Secondary.json        |   60 +
 .../read/SecondaryPreferred.json                   |   60 +
 .../read/SecondaryPreferred_non_matching.json      |   34 +
 .../read/Secondary_non_matching.json               |   34 +
 .../write/SecondaryPreferred.json                  |   34 +
 .../ReplicaSetWithPrimary/read/Nearest.json        |   76 +
 .../read/Nearest_non_matching.json                 |   42 +
 .../ReplicaSetWithPrimary/read/Primary.json        |   58 +
 .../read/PrimaryPreferred.json                     |   58 +
 .../read/PrimaryPreferred_non_matching.json        |   60 +
 .../ReplicaSetWithPrimary/read/Secondary.json      |   68 +
 .../read/SecondaryPreferred.json                   |   68 +
 .../read/SecondaryPreferred_non_matching.json      |   60 +
 .../read/Secondary_non_matching.json               |   42 +
 .../write/SecondaryPreferred.json                  |   60 +
 .../Sharded/read/SecondaryPreferred.json           |   60 +
 .../Sharded/write/SecondaryPreferred.json          |   60 +
 .../Single/read/SecondaryPreferred.json            |   44 +
 .../Single/write/SecondaryPreferred.json           |   44 +
 .../Unknown/read/SecondaryPreferred.json           |   17 +
 .../Unknown/write/SecondaryPreferred.json          |   17 +
 .../connection-string/write-concern.json           |  118 +
 .../write-concern/document/write-concern.json      |  174 +
 .../mongodb/ConnectionStringSpecification.groovy   |  373 ++
 .../unit/com/mongodb/ConnectionStringTest.java     |  237 +
 .../test/unit/com/mongodb/CustomMatchers.groovy    |  138 +
 .../com/mongodb/ErrorCategorySpecification.groovy  |   45 +
 .../com/mongodb/IndexRequestSpecification.groovy   |  154 +
 .../MongoCommandExceptionSpecification.groovy      |   47 +
 .../mongodb/MongoCredentialSpecification.groovy    |  268 +
 .../com/mongodb/MongoNamespaceSpecification.groovy |   84 +
 .../mongodb/ReadConcernLevelSpecification.groovy   |   51 +
 .../com/mongodb/ReadConcernSpecification.groovy    |   56 +
 .../src/test/unit/com/mongodb/ReadConcernTest.java |   67 +
 .../mongodb/ReadPreferenceChooseServersTest.java   |  175 +
 .../com/mongodb/ReadPreferenceSpecification.groovy |  161 +
 .../com/mongodb/ServerAddressSpecification.groovy  |   95 +
 .../unit/com/mongodb/TagSetSpecification.groovy    |   71 +
 .../mongodb/WriteConcernConnectionStringTest.java  |  102 +
 .../unit/com/mongodb/WriteConcernDocumentTest.java |   99 +
 .../com/mongodb/WriteConcernSpecification.groovy   |  359 ++
 .../com/mongodb/async/CallbackResultHolder.java    |   89 +
 .../com/mongodb/async/FutureResultCallback.java    |   88 +
 ...SingleConnectionReadBindingSpecification.groovy |  145 +
 ...SingleConnectionReadBindingSpecification.groovy |  138 +
 .../async/FutureResultCallbackSpecification.groovy |  103 +
 .../GridFSFileCodecProviderSpecification.groovy    |   40 +
 .../codecs/GridFSFileCodecSpecification.groovy     |  120 +
 .../gridfs/model/GridFSFileSpecification.groovy    |   91 +
 .../client/model/AggregatesSpecification.groovy    |  171 +
 .../model/BulkWriteOptionsSpecification.groovy     |   19 +
 .../client/model/FiltersSpecification.groovy       |  675 +++
 .../client/model/IndexOptionsSpecification.groovy  |  118 +
 .../client/model/IndexesSpecification.groovy       |   91 +
 .../model/InsertManyOptionsSpecification.groovy    |   46 +
 .../model/InsertOneOptionsSpecification.groovy     |   37 +
 .../client/model/ProjectionsSpecification.groovy   |  121 +
 .../mongodb/client/model/SortsSpecification.groovy |   78 +
 .../client/model/UpdateOptionsSpecification.groovy |   46 +
 .../client/model/UpdatesSpecification.groovy       |  209 +
 .../model/ValidationActionSpecification.groovy     |   51 +
 .../model/ValidationLevelSpecification.groovy      |   53 +
 .../geojson/GeometryCollectionSpecification.groovy |   62 +
 .../model/geojson/LineStringSpecification.groovy   |   77 +
 .../geojson/MultiLineStringSpecification.groovy    |   72 +
 .../model/geojson/MultiPointSpecification.groovy   |   71 +
 .../model/geojson/MultiPolygonSpecification.groovy |   76 +
 .../client/model/geojson/PointSpecification.groovy |   62 +
 .../model/geojson/PolygonSpecification.groovy      |   90 +
 .../model/geojson/PositionSpecification.groovy     |   71 +
 .../GeometryCollectionCodecSpecification.groovy    |   69 +
 .../codecs/LineStringCodecSpecification.groovy     |   63 +
 .../MultiLineStringCodecSpecification.groovy       |   64 +
 .../codecs/MultiPointCodecSpecification.groovy     |   63 +
 .../codecs/MultiPolygonCodecSpecification.groovy   |   87 +
 .../geojson/codecs/PointCodecSpecification.groovy  |   58 +
 .../codecs/PolygonCodecSpecification.groovy        |   91 +
 .../AbstractServerDiscoveryAndMonitoringTest.java  |  174 +
 .../connection/Base64CodecSpecification.groovy     |   44 +
 .../connection/BaseClusterSpecification.groovy     |  236 +
 .../BulkWriteBatchCombinerSpecification.groovy     |  161 +
 .../ByteBufBsonDocumentSpecification.groovy        |  311 ++
 .../mongodb/connection/ByteBufSpecification.groovy |  238 +
 .../ByteBufferBsonOutputSpecification.groovy       |  410 ++
 .../com/mongodb/connection/ChangeEventTest.java    |   40 +
 .../mongodb/connection/ClusterDescriptionTest.java |  254 +
 .../connection/ClusterIdSpecification.groovy       |   50 +
 .../connection/ClusterSettingsSpecification.groovy |  331 ++
 ...andEventOnConnectionFailureSpecification.groovy |  119 +
 ...ProtocolCommandEventElisionSpecification.groovy |  150 +
 .../CompositeByteBufSpecification.groovy           |  543 ++
 .../ConnectionDescriptionSpecification.groovy      |   35 +
 .../connection/ConnectionIdSpecification.groovy    |   80 +
 .../ConnectionPoolSettingsSpecification.groovy     |  175 +
 .../DefaultConnectionPoolSpecification.groovy      |  447 ++
 .../DefaultServerConnectionSpecification.groovy    |  423 ++
 .../DefaultServerMonitorSpecification.groovy       |  301 +
 .../connection/DefaultServerSpecification.groovy   |  395 ++
 .../DefaultTestClusterableServerFactory.java       |   64 +
 .../DescriptionHelperSpecification.groovy          |  411 ++
 ...tiallyWeightedMovingAverageSpecification.groovy |   45 +
 .../connection/GetMoreProtocolSpecification.groovy |   62 +
 ...StreamConnectionInitializerSpecification.groovy |  151 +
 .../InternalStreamConnectionSpecification.groovy   |  801 +++
 .../JMXConnectionPoolListenerSpecification.groovy  |  163 +
 .../mongodb/connection/MaxDocumentSizeTest.java    |   52 +
 .../com/mongodb/connection/MaxMessageSizeTest.java |   60 +
 .../unit/com/mongodb/connection/MessageHelper.java |  116 +
 .../MultiServerClusterSpecification.groovy         |  519 ++
 .../connection/NativeAuthenticatorUnitTest.java    |  121 +
 .../connection/PlainAuthenticatorUnitTest.java     |   83 +
 .../connection/ProtocolHelperSpecification.groovy  |  182 +
 .../com/mongodb/connection/ReplyMessageTest.java   |   71 +
 .../connection/ScramSha1SaslAuthenticatorTest.java |  203 +
 .../mongodb/connection/ServerDescriptionTest.java  |  398 ++
 ...ServerDiscoveryAndMonitoringMonitoringTest.java |  226 +
 .../ServerDiscoveryAndMonitoringTest.java          |  140 +
 .../connection/ServerIdSpecification.groovy        |   44 +
 .../mongodb/connection/ServerListenerFactory.java  |   25 +
 .../mongodb/connection/ServerSelectionRttTest.java |   68 +
 .../connection/ServerSelectionSelectionTest.java   |  187 +
 .../connection/ServerSettingsSpecification.groovy  |  139 +
 .../connection/ServerVersionSpecification.groovy   |  144 +
 .../mongodb/connection/SimpleBufferProvider.java   |   29 +
 .../SingleServerClusterSpecification.groovy        |  242 +
 .../connection/SocketSettingsSpecification.groovy  |  124 +
 .../connection/SslSettingsSpecification.groovy     |  109 +
 .../mongodb/connection/TestClusterListener.java    |   65 +
 .../connection/TestClusterableServerFactory.java   |  148 +
 .../com/mongodb/connection/TestConnection.java     |  262 +
 .../mongodb/connection/TestConnectionFactory.java  |   31 +
 .../com/mongodb/connection/TestConnectionPool.java |  123 +
 .../mongodb/connection/TestInternalConnection.java |  189 +
 .../connection/TestInternalConnectionFactory.java  |  106 +
 .../unit/com/mongodb/connection/TestServer.java    |   87 +
 .../com/mongodb/connection/TestServerListener.java |   65 +
 .../com/mongodb/connection/TestServerMonitor.java  |   55 +
 .../connection/TestServerMonitorFactory.java       |   37 +
 .../TimeoutTrackingConnectionGetter.java           |   52 +
 .../UsageTrackingConnectionSpecification.groovy    |  163 +
 .../WriteCommandHelperSpecification.groovy         |  145 +
 .../WriteCommandLimitsSpecification.groovy         |  145 +
 .../WriteResultProtocolHelperSpecification.groovy  |  125 +
 .../connection/X509AuthenticatorUnitTest.java      |  118 +
 .../connection/netty/ByteBufSpecification.groovy   |  151 +
 .../NettyStreamFactoryFactorySpecification.groovy  |   64 +
 .../CommandEventMulticasterSpecification.groovy    |  144 +
 .../CommandListenerMulticasterSpecification.groovy |   88 +
 .../mongodb/internal/SslHelperSpecification.groovy |   35 +
 .../internal/connection/ConcurrentPoolTest.java    |  266 +
 .../connection/IndexMapSpecification.groovy        |  107 +
 .../connection/PowerOfTwoBufferPoolTest.java       |   76 +
 .../thread/DaemonThreadFactorySpecification.groovy |   32 +
 .../CollectibleDocumentFieldNameValidatorTest.java |   50 +
 .../AsyncQueryBatchCursorSpecification.groovy      |   95 +
 .../CommandOperationHelperSpecification.groovy     |  213 +
 .../com/mongodb/operation/CursorHelperTest.java    |   37 +
 .../operation/QueryBatchCursorSpecification.groovy |   85 +
 .../selector/CompositeServerSelectorTest.java      |   87 +
 .../LatencyMinimizingServerSelectorTest.java       |   91 +
 .../PrimaryServerSelectorSpecification.groovy      |   52 +
 ...eadPreferenceServerSelectorSpecification.groovy |   75 +
 .../selector/ServerAddressSelectorTest.java        |   58 +
 .../WritableServerSelectorSpecification.groovy     |   52 +
 driver/build.gradle                                |   55 +
 driver/src/examples/gridfs/GridFSTour.java         |  173 +
 driver/src/examples/gridfs/package-info.java       |   20 +
 driver/src/examples/primer/AggregatePrimer.java    |   96 +
 driver/src/examples/primer/IndexesPrimer.java      |   50 +
 driver/src/examples/primer/InsertPrimer.java       |   65 +
 driver/src/examples/primer/PrimerTestCase.java     |   31 +
 driver/src/examples/primer/QueryPrimer.java        |  259 +
 driver/src/examples/primer/RemovePrimer.java       |   67 +
 driver/src/examples/primer/UpdatePrimer.java       |  114 +
 driver/src/examples/tour/QuickTour.java            |  220 +
 driver/src/examples/tour/QuickTourAdmin.java       |  116 +
 driver/src/examples/tour/package-info.java         |   20 +
 .../com/mongodb/AcknowledgedBulkWriteResult.java   |  129 +
 .../main/com/mongodb/AggregateIterableImpl.java    |  161 +
 .../src/main/com/mongodb/AggregationOptions.java   |  234 +
 driver/src/main/com/mongodb/AggregationOutput.java |   43 +
 .../src/main/com/mongodb/BSONTimestampCodec.java   |   49 +
 driver/src/main/com/mongodb/BasicDBList.java       |   73 +
 driver/src/main/com/mongodb/BasicDBObject.java     |  231 +
 .../src/main/com/mongodb/BasicDBObjectBuilder.java |  151 +
 .../src/main/com/mongodb/BasicDBObjectFactory.java |   31 +
 .../main/com/mongodb/BulkUpdateRequestBuilder.java |   71 +
 driver/src/main/com/mongodb/BulkWriteError.java    |  120 +
 .../src/main/com/mongodb/BulkWriteException.java   |  118 +
 driver/src/main/com/mongodb/BulkWriteHelper.java   |   84 +
 .../src/main/com/mongodb/BulkWriteOperation.java   |  143 +
 .../main/com/mongodb/BulkWriteRequestBuilder.java  |   95 +
 driver/src/main/com/mongodb/BulkWriteResult.java   |  103 +
 driver/src/main/com/mongodb/BulkWriteUpsert.java   |   97 +
 driver/src/main/com/mongodb/Bytes.java             |  210 +
 driver/src/main/com/mongodb/CommandResult.java     |   97 +
 .../main/com/mongodb/CompoundDBObjectCodec.java    |   63 +
 driver/src/main/com/mongodb/Cursor.java            |   49 +
 driver/src/main/com/mongodb/DB.java                |  724 +++
 driver/src/main/com/mongodb/DBAddress.java         |  186 +
 driver/src/main/com/mongodb/DBCallback.java        |   25 +
 driver/src/main/com/mongodb/DBCallbackFactory.java |   32 +
 driver/src/main/com/mongodb/DBCollection.java      | 2373 ++++++++
 .../com/mongodb/DBCollectionObjectFactory.java     |   95 +
 driver/src/main/com/mongodb/DBCursor.java          |  958 ++++
 driver/src/main/com/mongodb/DBDecoder.java         |   55 +
 driver/src/main/com/mongodb/DBDecoderAdapter.java  |   69 +
 driver/src/main/com/mongodb/DBDecoderFactory.java  |   29 +
 driver/src/main/com/mongodb/DBEncoder.java         |   34 +
 driver/src/main/com/mongodb/DBEncoderAdapter.java  |   60 +
 driver/src/main/com/mongodb/DBEncoderFactory.java  |   29 +
 .../main/com/mongodb/DBEncoderFactoryAdapter.java  |   40 +
 driver/src/main/com/mongodb/DBObject.java          |   38 +
 driver/src/main/com/mongodb/DBObjectCodec.java     |  367 ++
 .../main/com/mongodb/DBObjectCodecProvider.java    |   88 +
 driver/src/main/com/mongodb/DBObjectFactory.java   |   25 +
 driver/src/main/com/mongodb/DBObjects.java         |   31 +
 driver/src/main/com/mongodb/DBRef.java             |  130 +
 driver/src/main/com/mongodb/DBRefCodec.java        |   68 +
 .../src/main/com/mongodb/DBRefCodecProvider.java   |   57 +
 driver/src/main/com/mongodb/DefaultDBCallback.java |   83 +
 driver/src/main/com/mongodb/DefaultDBDecoder.java  |   59 +
 driver/src/main/com/mongodb/DefaultDBEncoder.java  |   67 +
 .../src/main/com/mongodb/DistinctIterableImpl.java |  112 +
 .../com/mongodb/DocumentToDBRefTransformer.java    |   50 +
 driver/src/main/com/mongodb/FindIterableImpl.java  |  211 +
 driver/src/main/com/mongodb/GroupCommand.java      |  141 +
 driver/src/main/com/mongodb/InsertOptions.java     |  116 +
 driver/src/main/com/mongodb/InsertRequest.java     |   39 +
 driver/src/main/com/mongodb/LazyDBCallback.java    |   58 +
 driver/src/main/com/mongodb/LazyDBDecoder.java     |   63 +
 driver/src/main/com/mongodb/LazyDBEncoder.java     |   43 +
 driver/src/main/com/mongodb/LazyDBList.java        |   59 +
 driver/src/main/com/mongodb/LazyDBObject.java      |   62 +
 .../com/mongodb/ListCollectionsIterableImpl.java   |  114 +
 .../com/mongodb/ListDatabasesIterableImpl.java     |   94 +
 .../main/com/mongodb/ListIndexesIterableImpl.java  |   99 +
 driver/src/main/com/mongodb/MapReduceCommand.java  |  419 ++
 .../main/com/mongodb/MapReduceIterableImpl.java    |  250 +
 driver/src/main/com/mongodb/MapReduceOutput.java   |  175 +
 driver/src/main/com/mongodb/MappingIterable.java   |   79 +
 driver/src/main/com/mongodb/Mongo.java             |  945 ++++
 .../main/com/mongodb/MongoBatchCursorAdapter.java  |   86 +
 driver/src/main/com/mongodb/MongoClient.java       |  360 ++
 .../src/main/com/mongodb/MongoClientOptions.java   | 1341 +++++
 driver/src/main/com/mongodb/MongoClientURI.java    |  368 ++
 .../src/main/com/mongodb/MongoCollectionImpl.java  |  566 ++
 .../src/main/com/mongodb/MongoCursorAdapter.java   |   58 +
 driver/src/main/com/mongodb/MongoDatabaseImpl.java |  195 +
 .../src/main/com/mongodb/MongoMappingCursor.java   |   71 +
 driver/src/main/com/mongodb/MongoOptions.java      |  789 +++
 driver/src/main/com/mongodb/MongoURI.java          |  197 +
 driver/src/main/com/mongodb/OperationIterable.java |   96 +
 .../src/main/com/mongodb/ParallelScanOptions.java  |  134 +
 driver/src/main/com/mongodb/QueryBuilder.java      |  507 ++
 driver/src/main/com/mongodb/QueryOperators.java    |   79 +
 .../src/main/com/mongodb/ReflectionDBObject.java   |  335 ++
 driver/src/main/com/mongodb/RemoveRequest.java     |   46 +
 driver/src/main/com/mongodb/ReplaceRequest.java    |   57 +
 driver/src/main/com/mongodb/ReplicaSetStatus.java  |   94 +
 .../com/mongodb/UnacknowledgedBulkWriteResult.java |   88 +
 driver/src/main/com/mongodb/UpdateRequest.java     |   62 +
 driver/src/main/com/mongodb/WriteConcernError.java |  112 +
 driver/src/main/com/mongodb/WriteRequest.java      |   21 +
 driver/src/main/com/mongodb/WriteResult.java       |  133 +
 .../main/com/mongodb/client/AggregateIterable.java |   81 +
 .../main/com/mongodb/client/DistinctIterable.java  |   57 +
 .../src/main/com/mongodb/client/FindIterable.java  |  156 +
 .../mongodb/client/ListCollectionsIterable.java    |   59 +
 .../com/mongodb/client/ListDatabasesIterable.java  |   48 +
 .../com/mongodb/client/ListIndexesIterable.java    |   48 +
 .../main/com/mongodb/client/MapReduceIterable.java |  177 +
 .../main/com/mongodb/client/MongoCollection.java   |  612 ++
 .../src/main/com/mongodb/client/MongoCursor.java   |   67 +
 .../src/main/com/mongodb/client/MongoDatabase.java |  216 +
 .../src/main/com/mongodb/client/MongoIterable.java |   77 +
 .../com/mongodb/client/gridfs/GridFSBucket.java    |  414 ++
 .../mongodb/client/gridfs/GridFSBucketImpl.java    |  381 ++
 .../com/mongodb/client/gridfs/GridFSBuckets.java   |   52 +
 .../client/gridfs/GridFSDownloadStream.java        |   84 +
 .../client/gridfs/GridFSDownloadStreamImpl.java    |  262 +
 .../mongodb/client/gridfs/GridFSFindIterable.java  |  105 +
 .../client/gridfs/GridFSFindIterableImpl.java      |  104 +
 .../mongodb/client/gridfs/GridFSUploadStream.java  |   83 +
 .../client/gridfs/GridFSUploadStreamImpl.java      |  183 +
 .../com/mongodb/client/gridfs/package-info.java    |   22 +
 .../src/main/com/mongodb/client/package-info.java  |   20 +
 driver/src/main/com/mongodb/gridfs/CLI.java        |  172 +
 driver/src/main/com/mongodb/gridfs/GridFS.java     |  439 ++
 .../src/main/com/mongodb/gridfs/GridFSDBFile.java  |  202 +
 driver/src/main/com/mongodb/gridfs/GridFSFile.java |  321 ++
 .../main/com/mongodb/gridfs/GridFSInputFile.java   |  382 ++
 .../src/main/com/mongodb/gridfs/package-info.java  |   21 +
 driver/src/main/com/mongodb/package-info.java      |   20 +
 .../com/mongodb/util/AbstractObjectSerializer.java |    0
 .../util/ClassMapBasedObjectSerializer.java        |   86 +
 driver/src/main/com/mongodb/util/JSON.java         |  630 +++
 driver/src/main/com/mongodb/util/JSONCallback.java |  149 +
 .../main/com/mongodb/util/JSONParseException.java  |   73 +
 .../src/main/com/mongodb/util/JSONSerializers.java |  512 ++
 .../main/com/mongodb/util/ObjectSerializer.java    |   38 +
 driver/src/main/com/mongodb/util/Util.java         |   58 +
 driver/src/main/com/mongodb/util/package-info.java |   20 +
 driver/src/main/org/bson/BSON.java                 |  376 ++
 driver/src/main/org/bson/BSONCallback.java         |  261 +
 driver/src/main/org/bson/BSONCallbackAdapter.java  |  212 +
 driver/src/main/org/bson/BSONDecoder.java          |   62 +
 driver/src/main/org/bson/BSONEncoder.java          |   64 +
 driver/src/main/org/bson/BSONObject.java           |  100 +
 driver/src/main/org/bson/BasicBSONCallback.java    |  297 +
 driver/src/main/org/bson/BasicBSONDecoder.java     |   70 +
 driver/src/main/org/bson/BasicBSONEncoder.java     |  534 ++
 driver/src/main/org/bson/BasicBSONObject.java      |  436 ++
 driver/src/main/org/bson/EmptyBSONCallback.java    |  171 +
 driver/src/main/org/bson/LazyBSONCallback.java     |   85 +
 driver/src/main/org/bson/LazyBSONDecoder.java      |   66 +
 driver/src/main/org/bson/LazyBSONList.java         |  225 +
 driver/src/main/org/bson/LazyBSONObject.java       |  415 ++
 driver/src/main/org/bson/io/Bits.java              |  204 +
 driver/src/main/org/bson/io/package-info.java      |   20 +
 driver/src/main/org/bson/package-info.java         |   20 +
 driver/src/main/org/bson/types/BSONTimestamp.java  |  111 +
 driver/src/main/org/bson/types/BasicBSONList.java  |  173 +
 driver/src/main/org/bson/types/CodeWScope.java     |   67 +
 driver/src/main/org/bson/types/StringRangeSet.java |  157 +
 driver/src/main/org/bson/types/package-info.java   |   20 +
 .../main/org/bson/util/AbstractCopyOnWriteMap.java |  624 +++
 driver/src/main/org/bson/util/ClassAncestry.java   |   86 +
 driver/src/main/org/bson/util/ClassMap.java        |  144 +
 driver/src/main/org/bson/util/ComputingMap.java    |  127 +
 driver/src/main/org/bson/util/CopyOnWriteMap.java  |  246 +
 .../src}/main/org/bson/util/Function.java          |    0
 driver/src/main/org/bson/util/package-info.java    |   20 +
 .../FindAndDeleteAcceptanceTest.java               |  169 +
 .../FindAndReplaceAcceptanceTest.java              |  165 +
 .../FindAndUpdateAcceptanceTest.java               |  126 +
 .../acceptancetest/core/ClientAcceptanceTest.java  |  106 +
 .../core/CollectionAcceptanceTest.java             |  398 ++
 .../core/DatabaseAcceptanceTest.java               |  153 +
 .../acceptancetest/crud/DeleteAcceptanceTest.java  |   64 +
 .../acceptancetest/crud/InsertAcceptanceTest.java  |   40 +
 .../acceptancetest/crud/ReplaceAcceptanceTest.java |   97 +
 .../acceptancetest/crud/UpdateAcceptanceTest.java  |  163 +
 .../mongodb/acceptancetest/crud/pojo/Address.java  |   76 +
 .../mongodb/acceptancetest/crud/pojo/Person.java   |   79 +
 .../mongodb/acceptancetest/crud/pojo/Postcode.java |   52 +
 .../index/AddIndexAcceptanceTest.java              |  236 +
 .../index/DropIndexAcceptanceTest.java             |  111 +
 .../querying/FilterAcceptanceTest.java             |  158 +
 .../querying/MapReduceAcceptanceTest.java          |  275 +
 .../querying/QueryAcceptanceTest.java              |  229 +
 driver/src/test/functional/com/mongodb/ClassA.java |   21 +
 driver/src/test/functional/com/mongodb/ClassB.java |   21 +
 .../com/mongodb/DBCollectionAggregationTest.java   |  267 +
 .../DBCollectionFunctionalSpecification.groovy     |  572 ++
 .../com/mongodb/DBCollectionOldTest.java           |  319 ++
 .../com/mongodb/DBCollectionSpecification.groovy   |  355 ++
 .../functional/com/mongodb/DBCollectionTest.java   | 1540 +++++
 .../mongodb/DBCursorFunctionalSpecification.groovy |  388 ++
 .../functional/com/mongodb/DBCursorOldTest.java    |  485 ++
 .../test/functional/com/mongodb/DBCursorTest.java  |  559 ++
 .../com/mongodb/DBFunctionalSpecification.groovy   |   84 +
 .../com/mongodb/DBObjectCodecReflectionTest.java   |   86 +
 .../functional/com/mongodb/DBObjectCodecTest.java  |  212 +
 .../src/test/functional/com/mongodb/DBRefTest.java |  136 +
 driver/src/test/functional/com/mongodb/DBTest.java |  400 ++
 .../functional/com/mongodb/DatabaseTestCase.java   |   51 +
 .../com/mongodb/DefaultDBDecoderTest.java          |   53 +
 .../src/test/functional/com/mongodb/Fixture.java   |  112 +
 .../com/mongodb/FunctionalSpecification.groovy     |   47 +
 .../mongodb/MapReduceOutputSpecification.groovy    |  158 +
 .../test/functional/com/mongodb/MapReduceTest.java |  339 ++
 ...oClientListenerRegistrationSpecification.groovy |  150 +
 .../functional/com/mongodb/MongoMethodsTest.java   |   61 +
 .../functional/com/mongodb/QueryBuilderTest.java   |  445 ++
 .../src/test/functional/com/mongodb/QueryTest.java |   47 +
 .../com/mongodb/client/CommandMonitoringTest.java  |  351 ++
 .../functional/com/mongodb/client/Concrete.java    |  128 +
 .../com/mongodb/client/ConcreteCodec.java          |   80 +
 .../com/mongodb/client/ConcreteCodecProvider.java  |   36 +
 .../functional/com/mongodb/client/CrudTest.java    |  125 +
 .../com/mongodb/client/DatabaseTestCase.java       |   81 +
 .../mongodb/client/JsonPoweredCrudTestHelper.java  |  296 +
 .../com/mongodb/client/MongoCollectionTest.java    |  180 +
 .../test/functional/com/mongodb/client/Name.java   |   62 +
 .../functional/com/mongodb/client/NameCodec.java   |   65 +
 .../com/mongodb/client/NameCodecProvider.java      |   32 +
 .../GridFSBucketSmokeTestSpecification.groovy      |  560 ++
 .../com/mongodb/client/gridfs/GridFSTest.java      |  368 ++
 .../functional/com/mongodb/gridfs/GridFSTest.java  |  342 ++
 .../test/resources/GridFSLegacy/GridFSTestFile.txt |    1 +
 .../mongodb/AggregateIterableSpecification.groovy  |  194 +
 .../mongodb/AggregationOptionsSpecification.groovy |   40 +
 .../test/unit/com/mongodb/BasicDBObjectTest.java   |  204 +
 .../test/unit/com/mongodb/CommandResultTest.java   |  100 +
 .../src/test/unit/com/mongodb/DBAddressTest.java   |   80 +
 .../com/mongodb/DBCollectionObjectFactoryTest.java |  132 +
 .../unit/com/mongodb/DBCursorSpecification.groovy  |  168 +
 .../com/mongodb/DBObjectCodecSpecification.groovy  |  171 +
 .../test/unit/com/mongodb/DBObjectMatchers.java    |   89 +
 .../com/mongodb/DBRefCodecSpecification.groovy     |   92 +
 .../unit/com/mongodb/DBRefSpecification.groovy     |  156 +
 .../test/unit/com/mongodb/DBSpecification.groovy   |  142 +
 .../mongodb/DistinctIterableSpecification.groovy   |  152 +
 .../DocumentToDBRefTransformerSpecification.groovy |   70 +
 .../com/mongodb/FindIterableSpecification.groovy   |  212 +
 .../com/mongodb/GroupCommandSpecification.groovy   |   49 +
 .../test/unit/com/mongodb/LazyDBEncoderTest.java   |   41 +
 .../com/mongodb/LazyDBObjectSpecification.groovy   |  302 +
 .../ListCollectionsIterableSpecification.groovy    |  132 +
 .../ListDatabasesIterableSpecification.groovy      |  126 +
 .../ListIndexesIterableSpecification.groovy        |  132 +
 .../mongodb/MapReduceCommandSpecification.groovy   |  113 +
 .../mongodb/MapReduceIterableSpecification.groovy  |  229 +
 .../MongoBatchCursorAdapterSpecification.groovy    |  119 +
 .../mongodb/MongoClientOptionsSpecification.groovy |  535 ++
 .../com/mongodb/MongoClientSpecification.groovy    |   36 +
 .../com/mongodb/MongoClientURISpecification.groovy |  376 ++
 .../mongodb/MongoCollectionSpecification.groovy    |  948 ++++
 .../unit/com/mongodb/MongoConstructorsTest.java    |  149 +
 .../com/mongodb/MongoDatabaseSpecification.groovy  |  247 +
 .../mongodb/MongoMappingCursorSpecification.groovy |   94 +
 .../test/unit/com/mongodb/MongoOptionsTest.java    |  190 +
 .../unit/com/mongodb/MongoSpecification.groovy     |  127 +
 .../mongodb/ReplicaSetStatusSpecification.groovy   |   97 +
 .../unit/com/mongodb/TestOperationExecutor.java    |   72 +
 .../client/gridfs/GridFSBucketSpecification.groovy |  686 +++
 .../gridfs/GridFSBucketsSpecification.groovy       |   60 +
 .../GridFSDownloadStreamSpecification.groovy       |  578 ++
 .../gridfs/GridFSFindIterableSpecification.groovy  |  192 +
 .../gridfs/GridFSUploadStreamSpecification.groovy  |  194 +
 .../operation/DeleteRequestSpecification.groovy    |   62 +
 .../operation/InsertRequestSpecification.groovy    |   53 +
 .../operation/UpdateRequestSpecification.groovy    |  110 +
 .../unit/com/mongodb/util/JSONCallbackTest.java    |  136 +
 .../unit/com/mongodb/util/JSONSerializersTest.java |  269 +
 .../src/test/unit/com/mongodb/util/JSONTest.java   |  384 ++
 driver/src/test/unit/org/bson/BSONTest.java        |  402 ++
 .../org/bson/BasicBSONDecoderSpecification.groovy  |  166 +
 .../org/bson/BasicBSONEncoderSpecification.groovy  |  181 +
 .../test/unit/org/bson/LazyBSONDecoderTest.java    |   68 +
 .../src/test/unit/org/bson/LazyBSONListTest.java   |   97 +
 .../org/bson/LazyBSONObjectSpecification.groovy    |  263 +
 driver/src/test/unit/org/bson/io/BitsTest.java     |  101 +
 .../unit/org/bson/types/BSONBsonTimestampTest.java |   45 +
 .../bson/types/BasicBSONListSpecification.groovy   |   90 +
 .../bson/types/StringRangeSetSpecification.groovy  |  178 +
 .../org/bson/util/ClassMapSpecification.groovy     |  128 +
 eclipse/eclipse-java-code-cleanup.xml              |   56 -
 eclipse/eclipse-java-code-formatters.xml           |  279 -
 eclipse/eclipse-java.importorder                   |    6 -
 gradle.properties                                  |   17 +
 gradle/deploy.gradle                               |   66 +
 gradle/wrapper/gradle-wrapper.properties           |   22 -
 gradlew                                            |  164 -
 gradlew.bat                                        |   90 -
 maven/build.xml                                    |  220 -
 maven/maven-bson.xml                               |   35 -
 maven/maven-mongo-java-driver.xml                  |   34 -
 mongo-java-driver/build.gradle                     |   70 +
 pom.xml                                            |   88 -
 settings.gradle                                    |   18 +
 src/examples/example/AggregationExample.java       |  124 -
 .../example/DefaultSecurityCallbackHandler.java    |   39 -
 src/examples/example/GSSAPICredentialsExample.java |   79 -
 src/examples/example/MongoCredentialsExample.java  |   55 -
 src/examples/example/MultiThreadedExample.java     |   66 -
 src/examples/example/PlainCredentialsExample.java  |   53 -
 src/examples/example/QuickTour.java                |  191 -
 src/examples/example/QuickTourAdmin.java           |  154 -
 src/examples/example/ReadOplog.java                |   61 -
 src/examples/example/X509CredentialsExample.java   |   50 -
 src/main/META-INF/MANIFEST.MF                      |   22 -
 src/main/META-INF/MANIFEST_BSON.MF                 |   10 -
 .../com/mongodb/AcknowledgedBulkWriteResult.java   |  143 -
 src/main/com/mongodb/AggregationOptions.java       |  175 -
 src/main/com/mongodb/AggregationOutput.java        |  100 -
 src/main/com/mongodb/AnyServerSelector.java        |   15 -
 src/main/com/mongodb/BSONBinarySubType.java        |   65 -
 src/main/com/mongodb/BSONBinaryWriter.java         |  428 --
 src/main/com/mongodb/BSONBinaryWriterSettings.java |   33 -
 src/main/com/mongodb/BSONContextType.java          |   44 -
 src/main/com/mongodb/BSONType.java                 |  130 -
 src/main/com/mongodb/BSONWriter.java               |  601 --
 src/main/com/mongodb/BSONWriterSettings.java       |   33 -
 src/main/com/mongodb/BaseCluster.java              |  262 -
 src/main/com/mongodb/BaseWriteCommandMessage.java  |  115 -
 src/main/com/mongodb/BasicDBList.java              |   66 -
 src/main/com/mongodb/BasicDBObject.java            |  108 -
 src/main/com/mongodb/BasicDBObjectBuilder.java     |  142 -
 src/main/com/mongodb/BulkUpdateRequestBuilder.java |   62 -
 src/main/com/mongodb/BulkWriteBatchCombiner.java   |  142 -
 src/main/com/mongodb/BulkWriteError.java           |  128 -
 src/main/com/mongodb/BulkWriteException.java       |  124 -
 src/main/com/mongodb/BulkWriteOperation.java       |  116 -
 src/main/com/mongodb/BulkWriteRequestBuilder.java  |   85 -
 src/main/com/mongodb/BulkWriteResult.java          |  109 -
 src/main/com/mongodb/BulkWriteUpsert.java          |   96 -
 src/main/com/mongodb/Bytes.java                    |  227 -
 src/main/com/mongodb/ChangeEvent.java              |   80 -
 src/main/com/mongodb/ChangeListener.java           |   22 -
 src/main/com/mongodb/Cluster.java                  |   30 -
 src/main/com/mongodb/ClusterConnectionMode.java    |   32 -
 src/main/com/mongodb/ClusterDescription.java       |  213 -
 .../mongodb/ClusterDescriptionChangedEvent.java    |   71 -
 src/main/com/mongodb/ClusterEvent.java             |   65 -
 src/main/com/mongodb/ClusterListener.java          |   46 -
 src/main/com/mongodb/ClusterListenerAdapter.java   |   28 -
 src/main/com/mongodb/ClusterSettings.java          |  234 -
 src/main/com/mongodb/ClusterType.java              |   42 -
 src/main/com/mongodb/ClusterableServer.java        |   56 -
 src/main/com/mongodb/ClusterableServerFactory.java |   23 -
 src/main/com/mongodb/Clusters.java                 |   41 -
 src/main/com/mongodb/CommandFailureException.java  |   44 -
 src/main/com/mongodb/CommandResult.java            |  142 -
 src/main/com/mongodb/CompositeServerSelector.java  |   50 -
 src/main/com/mongodb/ConcurrentLinkedDeque.java    |  899 ---
 src/main/com/mongodb/ConcurrentPool.java           |  226 -
 src/main/com/mongodb/Connection.java               |   29 -
 src/main/com/mongodb/ConnectionEvent.java          |   78 -
 src/main/com/mongodb/ConnectionFactory.java        |   21 -
 src/main/com/mongodb/ConnectionPoolEvent.java      |   72 -
 src/main/com/mongodb/ConnectionPoolListener.java   |   82 -
 .../com/mongodb/ConnectionPoolListenerAdapter.java |   56 -
 .../com/mongodb/ConnectionPoolOpenedEvent.java     |   77 -
 src/main/com/mongodb/ConnectionPoolSettings.java   |  212 -
 src/main/com/mongodb/ConnectionPoolStatistics.java |  100 -
 .../com/mongodb/ConnectionPoolStatisticsMBean.java |   74 -
 .../com/mongodb/ConnectionPoolWaitQueueEvent.java  |   76 -
 src/main/com/mongodb/Cursor.java                   |   31 -
 src/main/com/mongodb/DB.java                       | 1001 ----
 src/main/com/mongodb/DBAddress.java                |  187 -
 src/main/com/mongodb/DBApiLayer.java               |  224 -
 src/main/com/mongodb/DBCallback.java               |   30 -
 src/main/com/mongodb/DBCallbackFactory.java        |   27 -
 src/main/com/mongodb/DBCollection.java             | 2142 -------
 src/main/com/mongodb/DBCollectionImpl.java         |  947 ----
 src/main/com/mongodb/DBConnector.java              |  119 -
 src/main/com/mongodb/DBCursor.java                 |  816 ---
 src/main/com/mongodb/DBDecoder.java                |   33 -
 src/main/com/mongodb/DBDecoderFactory.java         |   26 -
 src/main/com/mongodb/DBEncoder.java                |   24 -
 src/main/com/mongodb/DBEncoderFactory.java         |   26 -
 src/main/com/mongodb/DBObject.java                 |   40 -
 src/main/com/mongodb/DBPointer.java                |   60 -
 src/main/com/mongodb/DBPort.java                   |  675 ---
 src/main/com/mongodb/DBPortFactory.java            |   30 -
 src/main/com/mongodb/DBPortPool.java               |  145 -
 src/main/com/mongodb/DBRef.java                    |   75 -
 src/main/com/mongodb/DBRefBase.java                |  130 -
 src/main/com/mongodb/DBTCPConnector.java           |  656 ---
 .../mongodb/DefaultClusterableServerFactory.java   |   54 -
 src/main/com/mongodb/DefaultDBCallback.java        |  155 -
 src/main/com/mongodb/DefaultDBDecoder.java         |   70 -
 src/main/com/mongodb/DefaultDBEncoder.java         |   98 -
 src/main/com/mongodb/DefaultServer.java            |  109 -
 src/main/com/mongodb/DeleteCommandMessage.java     |   69 -
 src/main/com/mongodb/Deque.java                    |  460 --
 src/main/com/mongodb/DuplicateKeyException.java    |   40 -
 src/main/com/mongodb/GroupCommand.java             |   52 -
 src/main/com/mongodb/InUseConnectionBean.java      |   86 -
 src/main/com/mongodb/IndexMap.java                 |  108 -
 src/main/com/mongodb/InsertCommandMessage.java     |   63 -
 src/main/com/mongodb/InsertRequest.java            |   34 -
 .../com/mongodb/JMXConnectionPoolListener.java     |  168 -
 .../com/mongodb/Java5MongoConnectionPoolMBean.java |   70 -
 .../mongodb/LatencyMinimizingServerSelector.java   |   73 -
 src/main/com/mongodb/LazyDBCallback.java           |   62 -
 src/main/com/mongodb/LazyDBDecoder.java            |   59 -
 src/main/com/mongodb/LazyDBEncoder.java            |   51 -
 src/main/com/mongodb/LazyDBList.java               |   39 -
 src/main/com/mongodb/LazyDBObject.java             |   51 -
 src/main/com/mongodb/LazyWriteableDBCallback.java  |   46 -
 src/main/com/mongodb/LazyWriteableDBDecoder.java   |   37 -
 src/main/com/mongodb/LazyWriteableDBObject.java    |  121 -
 src/main/com/mongodb/Loggers.java                  |   46 -
 src/main/com/mongodb/MapReduceCommand.java         |  371 --
 src/main/com/mongodb/MapReduceOutput.java          |  211 -
 src/main/com/mongodb/MessageSettings.java          |   80 -
 src/main/com/mongodb/ModifyRequest.java            |   45 -
 src/main/com/mongodb/Mongo.java                    |  850 ---
 src/main/com/mongodb/MongoAuthority.java           |  213 -
 src/main/com/mongodb/MongoClient.java              |  285 -
 src/main/com/mongodb/MongoClientException.java     |   34 -
 src/main/com/mongodb/MongoClientOptions.java       | 1045 ----
 src/main/com/mongodb/MongoClientURI.java           |  645 ---
 .../com/mongodb/MongoConnectionPoolMXBean.java     |   66 -
 src/main/com/mongodb/MongoCredential.java          |  274 -
 src/main/com/mongodb/MongoCredentialsStore.java    |  146 -
 .../com/mongodb/MongoCursorNotFoundException.java  |   58 -
 src/main/com/mongodb/MongoException.java           |  163 -
 .../mongodb/MongoExecutionTimeoutException.java    |   31 -
 .../mongodb/MongoIncompatibleDriverException.java  |   31 -
 src/main/com/mongodb/MongoInternalException.java   |   47 -
 .../com/mongodb/MongoInterruptedException.java     |   35 -
 src/main/com/mongodb/MongoNamespace.java           |   94 -
 src/main/com/mongodb/MongoOptions.java             |  859 ---
 .../com/mongodb/MongoServerSelectionException.java |   29 -
 src/main/com/mongodb/MongoSocketException.java     |   44 -
 src/main/com/mongodb/MongoTimeoutException.java    |   31 -
 src/main/com/mongodb/MongoURI.java                 |  274 -
 .../com/mongodb/MongoWaitQueueFullException.java   |   31 -
 src/main/com/mongodb/MongosHAServerSelector.java   |   77 -
 src/main/com/mongodb/MultiServerCluster.java       |  310 -
 .../com/mongodb/NativeAuthenticationHelper.java    |   65 -
 src/main/com/mongodb/NoOpClusterListener.java      |   20 -
 .../com/mongodb/NoOpConnectionPoolListener.java    |   52 -
 src/main/com/mongodb/OutMessage.java               |  307 -
 src/main/com/mongodb/ParallelScanOptions.java      |  114 -
 src/main/com/mongodb/PooledConnectionProvider.java |  216 -
 src/main/com/mongodb/QueryBuilder.java             |  471 --
 src/main/com/mongodb/QueryOpBuilder.java           |  222 -
 src/main/com/mongodb/QueryOperators.java           |   84 -
 src/main/com/mongodb/QueryResultIterator.java      |  258 -
 src/main/com/mongodb/RawDBObject.java              |  366 --
 src/main/com/mongodb/ReadPreference.java           |  344 --
 .../com/mongodb/ReadPreferenceServerSelector.java  |   44 -
 src/main/com/mongodb/ReflectionDBObject.java       |  284 -
 src/main/com/mongodb/Remove.java                   |   39 -
 src/main/com/mongodb/RemoveRequest.java            |   40 -
 src/main/com/mongodb/ReplaceRequest.java           |   33 -
 src/main/com/mongodb/ReplicaSetStatus.java         |   76 -
 src/main/com/mongodb/RequestMessage.java           |  102 -
 src/main/com/mongodb/Response.java                 |  188 -
 src/main/com/mongodb/Server.java                   |   39 -
 src/main/com/mongodb/ServerAddress.java            |  214 -
 src/main/com/mongodb/ServerAddressSelector.java    |   33 -
 src/main/com/mongodb/ServerConnectionState.java    |   29 -
 src/main/com/mongodb/ServerDescription.java        |  545 --
 src/main/com/mongodb/ServerError.java              |  103 -
 src/main/com/mongodb/ServerMonitor.java            |  327 --
 src/main/com/mongodb/ServerSelector.java           |   23 -
 src/main/com/mongodb/ServerSettings.java           |   75 -
 src/main/com/mongodb/ServerType.java               |  109 -
 src/main/com/mongodb/ServerVersion.java            |  112 -
 src/main/com/mongodb/SingleServerCluster.java      |   99 -
 src/main/com/mongodb/SocketSettings.java           |   76 -
 src/main/com/mongodb/StringUtils.java              |   39 -
 src/main/com/mongodb/TaggableReadPreference.java   |  233 -
 src/main/com/mongodb/Tags.java                     |  164 -
 .../com/mongodb/UnacknowledgedBulkWriteResult.java |   87 -
 .../com/mongodb/UnacknowledgedWriteException.java  |   39 -
 src/main/com/mongodb/Update.java                   |   55 -
 src/main/com/mongodb/UpdateCommandMessage.java     |   77 -
 src/main/com/mongodb/UpdateRequest.java            |   39 -
 src/main/com/mongodb/WriteCommandResultHelper.java |  105 -
 src/main/com/mongodb/WriteConcern.java             |  613 --
 src/main/com/mongodb/WriteConcernError.java        |  112 -
 src/main/com/mongodb/WriteConcernException.java    |   50 -
 src/main/com/mongodb/WriteRequest.java             |   28 -
 src/main/com/mongodb/WriteResult.java              |  223 -
 src/main/com/mongodb/gridfs/CLI.java               |  169 -
 src/main/com/mongodb/gridfs/GridFS.java            |  474 --
 src/main/com/mongodb/gridfs/GridFSDBFile.java      |  203 -
 src/main/com/mongodb/gridfs/GridFSFile.java        |  316 --
 src/main/com/mongodb/gridfs/GridFSInputFile.java   |  405 --
 src/main/com/mongodb/gridfs/package.html           |   18 -
 src/main/com/mongodb/io/ByteBufferFactory.java     |   45 -
 src/main/com/mongodb/io/ByteBufferHolder.java      |  131 -
 src/main/com/mongodb/io/ByteBufferInputStream.java |  124 -
 .../com/mongodb/io/ByteBufferOutputStream.java     |   99 -
 src/main/com/mongodb/io/ByteStream.java            |   32 -
 src/main/com/mongodb/package.html                  |   18 -
 src/main/com/mongodb/tools/ConnectionPoolStat.java |  314 --
 src/main/com/mongodb/util/Args.java                |   86 -
 src/main/com/mongodb/util/Base64Codec.java         |  146 -
 .../util/ClassMapBasedObjectSerializer.java        |   83 -
 .../mongodb/util/ConnectionPoolStatisticsBean.java |   66 -
 src/main/com/mongodb/util/FastStack.java           |   59 -
 src/main/com/mongodb/util/Hash.java                |  253 -
 src/main/com/mongodb/util/IdentitySet.java         |   85 -
 src/main/com/mongodb/util/JSON.java                |  576 --
 src/main/com/mongodb/util/JSONCallback.java        |  134 -
 src/main/com/mongodb/util/JSONParseException.java  |   58 -
 src/main/com/mongodb/util/JSONSerializers.java     |  478 --
 src/main/com/mongodb/util/ObjectSerializer.java    |   37 -
 src/main/com/mongodb/util/OptionMap.java           |   35 -
 src/main/com/mongodb/util/SimplePool.java          |  204 -
 src/main/com/mongodb/util/StringBuilderPool.java   |   55 -
 src/main/com/mongodb/util/StringParseUtil.java     |  270 -
 src/main/com/mongodb/util/ThreadPool.java          |  151 -
 src/main/com/mongodb/util/ThreadUtil.java          |   80 -
 src/main/com/mongodb/util/TimeConstants.java       |   43 -
 src/main/com/mongodb/util/UniqueList.java          |   45 -
 src/main/com/mongodb/util/Util.java                |   72 -
 src/main/com/mongodb/util/WeakBag.java             |  128 -
 .../com/mongodb/util/management/JMException.java   |   33 -
 .../com/mongodb/util/management/MBeanServer.java   |   32 -
 .../util/management/MBeanServerFactory.java        |   48 -
 .../mongodb/util/management/NullMBeanServer.java   |   39 -
 .../util/management/jmx/JMXMBeanServer.java        |   74 -
 src/main/com/mongodb/util/package.html             |   18 -
 src/main/org/bson/BSON.java                        |  349 --
 src/main/org/bson/BSONCallback.java                |   78 -
 src/main/org/bson/BSONDecoder.java                 |   34 -
 src/main/org/bson/BSONEncoder.java                 |   30 -
 src/main/org/bson/BSONException.java               |   73 -
 src/main/org/bson/BSONLazyDecoder.java             |   28 -
 src/main/org/bson/BSONObject.java                  |   91 -
 src/main/org/bson/BasicBSONCallback.java           |  216 -
 src/main/org/bson/BasicBSONDecoder.java            |  637 ---
 src/main/org/bson/BasicBSONEncoder.java            |  537 --
 src/main/org/bson/BasicBSONObject.java             |  401 --
 src/main/org/bson/EmptyBSONCallback.java           |  144 -
 src/main/org/bson/KeyCachingLazyBSONObject.java    |   74 -
 src/main/org/bson/LazyBSONCallback.java            |   91 -
 src/main/org/bson/LazyBSONDecoder.java             |   71 -
 src/main/org/bson/LazyBSONList.java                |  196 -
 src/main/org/bson/LazyBSONObject.java              |  745 ---
 src/main/org/bson/LazyDBList.java                  |   57 -
 src/main/org/bson/NewBSONDecoder.java              |  331 --
 src/main/org/bson/Transformer.java                 |   27 -
 src/main/org/bson/io/BSONByteBuffer.java           |  146 -
 src/main/org/bson/io/BSONInput.java                |   18 -
 src/main/org/bson/io/BasicOutputBuffer.java        |  146 -
 src/main/org/bson/io/Bits.java                     |  117 -
 src/main/org/bson/io/OutputBuffer.java             |  291 -
 src/main/org/bson/io/PoolOutputBuffer.java         |  272 -
 src/main/org/bson/io/UTF8Encoding.java             |  201 -
 src/main/org/bson/io/package.html                  |   18 -
 src/main/org/bson/package.html                     |   18 -
 src/main/org/bson/types/BSONTimestamp.java         |   96 -
 src/main/org/bson/types/BasicBSONList.java         |  169 -
 src/main/org/bson/types/Binary.java                |   95 -
 src/main/org/bson/types/Code.java                  |   58 -
 src/main/org/bson/types/CodeWScope.java            |   53 -
 src/main/org/bson/types/MaxKey.java                |   47 -
 src/main/org/bson/types/MinKey.java                |   47 -
 src/main/org/bson/types/ObjectId.java              |  592 --
 src/main/org/bson/types/Symbol.java                |   74 -
 src/main/org/bson/types/package.html               |   18 -
 src/main/org/bson/util/AbstractCopyOnWriteMap.java |  631 ---
 src/main/org/bson/util/Assertions.java             |   58 -
 src/main/org/bson/util/ClassAncestry.java          |   88 -
 src/main/org/bson/util/ClassMap.java               |  100 -
 src/main/org/bson/util/ComputingMap.java           |  125 -
 src/main/org/bson/util/CopyOnWriteMap.java         |  272 -
 src/main/org/bson/util/SimplePool.java             |   62 -
 src/main/org/bson/util/StringRangeSet.java         |  131 -
 src/main/org/bson/util/annotations/GuardedBy.java  |   57 -
 src/main/org/bson/util/annotations/Immutable.java  |   42 -
 .../org/bson/util/annotations/NotThreadSafe.java   |   34 -
 src/main/org/bson/util/annotations/ThreadSafe.java |   33 -
 src/main/org/bson/util/package.html                |   18 -
 src/test/com/mongodb/AggregationTest.java          |  312 --
 src/test/com/mongodb/BSONBinaryWriterTest.java     |  519 --
 src/test/com/mongodb/BasicDBObjectTest.java        |  175 -
 .../BulkWriteBatchCombinerSpecification.groovy     |  152 -
 .../mongodb/BulkWriteOperationSpecification.groovy |  857 ---
 src/test/com/mongodb/ByteTest.java                 |  483 --
 src/test/com/mongodb/ClusterDescriptionTest.java   |  209 -
 .../mongodb/ClusterSettingsSpecification.groovy    |  113 -
 src/test/com/mongodb/CommandResultTest.java        |  132 -
 .../com/mongodb/CompositeServerSelectorTest.java   |   71 -
 src/test/com/mongodb/ConcurrentPoolTest.java       |  183 -
 src/test/com/mongodb/DBAddressTest.java            |   78 -
 src/test/com/mongodb/DBApiLayerTest.java           |   70 -
 src/test/com/mongodb/DBCollectionTest.java         |  620 --
 src/test/com/mongodb/DBCursorTest.java             |  724 ---
 src/test/com/mongodb/DBObjectTest.java             |  170 -
 src/test/com/mongodb/DBPortTest.java               |   89 -
 src/test/com/mongodb/DBRefTest.java                |  209 -
 src/test/com/mongodb/DBTCPConnectorTest.java       |  181 -
 src/test/com/mongodb/DBTest.java                   |  594 --
 src/test/com/mongodb/DBTests.java                  |  180 -
 src/test/com/mongodb/ErrorTest.java                |   78 -
 src/test/com/mongodb/Fixture.java                  |  127 -
 .../com/mongodb/FunctionalSpecification.groovy     |   49 -
 src/test/com/mongodb/IndexMapSpecification.groovy  |   83 -
 .../JMXConnectionPoolListenerSpecification.groovy  |  154 -
 src/test/com/mongodb/JavaClientTest.java           | 1171 ----
 .../LatencyMinimizingServerSelectorTest.java       |   89 -
 src/test/com/mongodb/LazyDBObjectTest.java         |  386 --
 .../mongodb/MapReduceOutputSpecification.groovy    |  118 -
 src/test/com/mongodb/MongoClientOptionsTest.java   |  291 -
 src/test/com/mongodb/MongoClientTest.java          |  129 -
 src/test/com/mongodb/MongoClientURITest.java       |  324 --
 src/test/com/mongodb/MongoCredentialTest.java      |  164 -
 src/test/com/mongodb/MongoOptionsTest.java         |  171 -
 src/test/com/mongodb/MongoTest.java                |  100 -
 src/test/com/mongodb/MongoURITest.java             |   79 -
 .../com/mongodb/MongosHAServerSelectorTest.java    |  101 -
 .../mongodb/MultiServerClusterSpecification.groovy |  453 --
 src/test/com/mongodb/ObjectIdTest.java             |  140 -
 src/test/com/mongodb/OutMessageTest.java           |   85 -
 src/test/com/mongodb/PerformanceTest.java          |  299 -
 .../PooledConnectionProviderSpecification.groovy   |  304 -
 .../com/mongodb/PooledConnectionProviderTest.java  |  232 -
 src/test/com/mongodb/QueryBuilderTest.java         |  494 --
 src/test/com/mongodb/QueryOpTest.java              |  103 -
 .../mongodb/ReadPreferenceServerSelectorTest.java  |   53 -
 src/test/com/mongodb/ReadPreferenceTest.java       |  235 -
 src/test/com/mongodb/ReflectionTest.java           |  139 -
 src/test/com/mongodb/ReplPairTest.java             |   87 -
 src/test/com/mongodb/ReplSetTest.java              |  103 -
 src/test/com/mongodb/SecondaryReadTest.java        |  275 -
 src/test/com/mongodb/ServerAddressTest.java        |  132 -
 src/test/com/mongodb/ServerDescriptionTest.java    |  391 --
 .../com/mongodb/ServerMonitorSpecification.groovy  |  153 -
 .../SingleServerClusterSpecification.groovy        |  203 -
 .../com/mongodb/SingleThreadedMongoPerfTest.java   |   55 -
 .../com/mongodb/TestClusterableServerFactory.java  |   43 -
 .../com/mongodb/TestInternalConnectionFactory.java |   74 -
 src/test/com/mongodb/TestServer.java               |   76 -
 .../mongodb/TimeoutTrackingConnectionGetter.java   |   49 -
 .../mongodb/WriteCommandHelperSpecification.groovy |  132 -
 src/test/com/mongodb/WriteConcernTest.java         |  191 -
 src/test/com/mongodb/framework/Admin.java          |   24 -
 src/test/com/mongodb/framework/Capped.java         |   61 -
 src/test/com/mongodb/framework/Circular.java       |   52 -
 src/test/com/mongodb/framework/Count1.java         |   48 -
 src/test/com/mongodb/framework/Dbs.java            |   69 -
 src/test/com/mongodb/framework/Find.java           |   37 -
 src/test/com/mongodb/framework/Find1.java          |   42 -
 src/test/com/mongodb/framework/Remove.java         |   37 -
 src/test/com/mongodb/framework/Stress1.java        |   70 -
 src/test/com/mongodb/framework/Test1.java          |   40 -
 src/test/com/mongodb/framework/dispatch            |   34 -
 src/test/com/mongodb/gridfs/GridFSTest.java        |  352 --
 src/test/com/mongodb/io/ByteBufferStreamTest.java  |  127 -
 src/test/com/mongodb/io/StreamUtil.java            |   54 -
 .../com/mongodb/tools/ConnectionPoolStatTest.java  |   52 -
 src/test/com/mongodb/util/Base64CodecTest.java     |   49 -
 src/test/com/mongodb/util/JSONCallbackTest.java    |  137 -
 src/test/com/mongodb/util/JSONSerializersTest.java |  255 -
 src/test/com/mongodb/util/JSONTest.java            |  384 --
 src/test/com/mongodb/util/SimplePoolTest.java      |  217 -
 src/test/com/mongodb/util/TestCase.java            |  212 -
 src/test/com/mongodb/util/UniqueListTest.java      |   37 -
 src/test/org/bson/BSONTest.java                    |  354 --
 src/test/org/bson/BSONTimestampTest.java           |   47 -
 src/test/org/bson/BSONTypeSerializableTest.java    |  185 -
 src/test/org/bson/BasicBSONEncoderTest.java        |   53 -
 src/test/org/bson/PoolOutputBufferTest.java        |   76 -
 src/test/org/bson/io/BitsTest.java                 |  112 -
 src/test/org/bson/types/BinaryTest.java            |   49 -
 src/test/org/bson/util/ClassMapTest.java           |   51 -
 src/test/org/bson/util/StringRangeSetTest.java     |   44 -
 src/util/DocTaglet.java                            |   70 -
 src/util/DochubTaglet.java                         |   36 -
 src/util/ManualTaglet.java                         |   37 -
 src/util/ServerReleaseTaglet.java                  |   26 -
 util/build.gradle                                  |   28 +
 util/src/main/DocTaglet.java                       |   82 +
 util/src/main/ManualTaglet.java                    |   42 +
 util/src/main/ServerReleaseTaglet.java             |   42 +
 util/src/main/category/Async.java                  |   20 +
 util/src/main/category/ReplicaSet.java             |   20 +
 util/src/main/category/Slow.java                   |   23 +
 util/src/main/category/SlowUnit.java               |   23 +
 1965 files changed, 221552 insertions(+), 64532 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/mongo-java-driver.git



More information about the pkg-java-commits mailing list