| Modifier and Type | Method and Description |
|---|---|
static ReadPreferenceType |
ReadPreferenceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadPreferenceType[] |
ReadPreferenceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
MongoDBEntityContext |
MongoDBEntityContext.readPreference(ReadPreferenceType readPreference)
Defines the type of read preference to be
applied when performing read operations against the datastore.
|
MongoDBGlobalContext |
MongoDBGlobalContext.readPreference(ReadPreferenceType readPreference)
Defines the type of read preference to be
applied when performing read operations against the datastore.
|
MongoDBPropertyContext |
MongoDBPropertyContext.readPreference(ReadPreferenceType readPreference)
Defines the type of read preference to be
applied when performing read operations in case the current property represents an association.
|
| Modifier and Type | Method and Description |
|---|---|
MongoDBEntityContext |
MongoDBEntityContextImpl.readPreference(ReadPreferenceType readPreference) |
MongoDBGlobalContext |
MongoDBGlobalContextImpl.readPreference(ReadPreferenceType readPreference) |
MongoDBPropertyContext |
MongoDBPropertyContextImpl.readPreference(ReadPreferenceType readPreference) |
Copyright © 2010–2016 Hibernate. All rights reserved.