| Package | Description | 
|---|---|
| com.allanbank.mongodb | 
 Provides a Java driver for the MongoDB document store that allows asynchronous invocation of requests. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ReadPreference.Mode | 
ReadPreference.getMode()
Returns the read preference mode controlling if primary or secondary
 servers can be used and which to prefer. 
 | 
static ReadPreference.Mode | 
ReadPreference.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ReadPreference.Mode[] | 
ReadPreference.Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Constructor and Description | 
|---|
ReadPreference(ReadPreference.Mode mode,
              DocumentAssignable... tagMatchDocuments)
Creates a new ReadPreference. 
 | 
ReadPreference(ReadPreference.Mode mode,
              String address)
Creates a new ReadPreference. 
 | 
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.