private void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException
Credential
.ClassNotFoundException
- On a failure loading a class in this classed reachable tree.IOException
- On a failure reading from the stream.String myAuthenticationType
String myDatabase
File myFile
Map<K,V> myOptions
char[] myPassword
String myUserName
private Object readResolve()
Durability.ACK
or Durability.NONE
instance as appropriate.Document myAsDocument
boolean myWaitForFsync
boolean myWaitForJournal
int myWaitForReplicas
String myWaitForReplicasByMode
null
then wait for the specified
replication mode configured on the server. A built-in mode of
Durability.MAJORITY_MODE
is also supported.boolean myWaitForReply
int myWaitTimeoutMillis
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOException
- On a failure reading from the stream.ClassNotFoundException
- On a failure locating a type in the stream.boolean myAutoDiscoverServers
Defaults to true, e.g., auto-discover.
ConnectionModel myConnectionModel
Defaults to ConnectionModel.RECEIVER_THREAD
.
int myConnectTimeout
Defaults to 0 or forever.
ConcurrentHashMap<K,V> myCredentials
String myDefaultDatabase
Defaults to "local".
Durability myDefaultDurability
Defaults to Durability.ACK
.
ReadPreference myDefaultReadPreference
Defaults to ReadPreference.PRIMARY
.
Credential myLegacyCredential
MongoClientConfiguration.authenticate(String, String)
and MongoClientConfiguration.setDefaultDatabase(String)
.LockType myLockType
Defaults to LockType.MUTEX
.
int myMaxCachedStringEntries
Defaults to 1024.
int myMaxCachedStringLength
Defaults to 25.
int myMaxConnectionCount
Defaults to 3.
Note: In the case of connecting to a replica set this setting
limits the number of connections to the primary server. The driver will
create single connections to the secondary servers if queries are issued
with a ReadPreference
other than ReadPreference.PRIMARY
.
int myMaxIdleTickCount
Defaults to Integer.MAX_VALUE
.
int myMaxPendingOperationsPerConnection
Defaults to 1024.
Note: In the case of an connection error it is impossible to determine which pending operations completed and which did not.
long myMaxSecondaryLag
Defaults to 5 minutes (300,000).
int myMinConnectionCount
Defaults to 0.
PropertyChangeSupport myPropSupport
int myReadTimeout
Defaults to 0 or never.
int myReconnectTimeout
Defaults to 0 or forever.
List<E> myServers
boolean myUsingSoKeepalive
SO_KEEPALIVE
socket option is set.
Defaults to true, e.g., use SO_KEEPALIVE.
private Object readResolve()
ProfilingStatus.ON
or ProfilingStatus.OFF
instance as appropriate.ProfilingStatus.Level myLevel
long mySlowMillisThreshold
private Object readResolve()
ReadPreference.CLOSEST
, ReadPreference.PREFER_PRIMARY
, ReadPreference.PREFER_SECONDARY
,
ReadPreference.PRIMARY
, or ReadPreference.SECONDARY
instance as appropriate.Document myDocumentForm
ReadPreference.Mode myMode
String myServer
MongoIterator
to ensure
cursor fetch and terminate requests use the originating server.List<E> myTagMatchingDocuments
String mySuffix
int[] myVersion
private void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException
ClassNotFoundException
- On a failure loading a class in this classed reachable
tree.IOException
- On a failure reading from the stream.String myName
long mySize
String myJavaScript
Document myScope
ObjectId myId
int myOptions
String myPattern
String myValue
String mySymbol
UUID myUuid
private void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException
ClassNotFoundException
- On a failure loading a class in this classed reachable tree.IOException
- On a failure reading from the stream.private void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException
ClassNotFoundException
- On a failure loading a class in this classed reachable tree.IOException
- On a failure reading from the stream.AtomicReference<V> myElements
boolean myIdKnownPresent
AtomicReference<V> myElementMap
com.allanbank.mongodb.bson.json.Token currentToken
int[][] expectedTokenSequences
String[] tokenImage
String eol
Durability myDurability
BatchedWriteMode myMode
List<E> myWrites
Document myQuery
boolean mySingleDelete
Document myDocument
Document myDocument
int myMaximumSize
int mySize
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOException
- On a failure reading from the stream.ClassNotFoundException
- On a failure locating a type in the stream.Version myActualVersion
String myOperation
VersionRange myRange
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.