private Object readResolve()
Durability.ACK
or Durability.NONE
instance as appropriate.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
boolean myAdminUser
boolean myAutoDiscoverServers
Defaults to true, e.g., auto-discover.
int myConnectTimeout
Defaults to 0 or forever.
String myDefaultDatabase
Defaults to "local".
Durability myDefaultDurability
Defaults to Durability.NONE
.
ReadPreference myDefaultReadPreference
Defaults to ReadPreference.PRIMARY
.
LockType myLockType
Defaults to LockType.MUTEX
.
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 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).
String myPasswordHash
int myReadTimeout
Defaults to 0 or never.
int myReconnectTimeout
Defaults to 0 or forever.
List<E> myServers
String myUserName
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
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
String myJavaScript
Document myScope
ObjectId myId
int myOptions
String myPattern
String myValue
String mySymbol
UUID myUuid
AtomicReference<V> myElementMap
AtomicReference<V> myElements
boolean myIdKnownPresent
com.allanbank.mongodb.bson.json.Token currentToken
int[][] expectedTokenSequences
String[] tokenImage
String eol
Document myDocument
int myMaximumSize
int mySize
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.