Package | Description |
---|---|
com.allanbank.mongodb.bson.io |
Provides the ability to serialize and deserialize BSON
Document s. |
com.allanbank.mongodb.client.connection.socket |
Low level socket connection to a single MongoDB server.
|
Modifier and Type | Method and Description |
---|---|
StringEncoderCache |
StringEncoder.getCache()
Deprecated.
The cache
StringEncoderCache should be controlled
directly. This method will be removed after the 2.1.0
release. |
Constructor and Description |
---|
BsonOutputStream(OutputStream output,
StringEncoderCache cache)
Creates a new
BsonOutputStream . |
BufferingBsonOutputStream(OutputStream output,
StringEncoderCache cache)
Creates a new
BufferingBsonOutputStream . |
RandomAccessOutputStream(StringEncoderCache cache)
Creates a new
RandomAccessOutputStream . |
StringEncoder(StringEncoderCache cache)
Creates a new StringEncoder.
|
Modifier and Type | Field and Description |
---|---|
protected StringEncoderCache |
AbstractSocketConnection.myEncoderCache
The cache for the encoding of strings.
|
Constructor and Description |
---|
AbstractSocketConnection(Server server,
MongoClientConfiguration config,
StringEncoderCache encoderCache,
StringDecoderCache decoderCache)
Creates a new AbstractSocketConnection.
|
SocketConnection(Server server,
MongoClientConfiguration config,
StringEncoderCache encoderCache,
StringDecoderCache decoderCache,
ThreadLocal<Reference<BufferingBsonOutputStream>> buffers)
Creates a new SocketConnection to a MongoDB server.
|
TwoThreadSocketConnection(Server server,
MongoClientConfiguration config,
StringEncoderCache encoderCache,
StringDecoderCache decoderCache)
Creates a new SocketConnection to a MongoDB server.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.