public static enum MongoEntityStoreConfiguration.WriteConcern extends Enum<MongoEntityStoreConfiguration.WriteConcern>
| Enum Constant and Description | 
|---|
FSYNC_SAFE
Exceptions are raised for network issues, and server errors; the write operation waits for the server to flush the data to disk 
 | 
JOURNAL_SAFE
Exceptions are raised for network issues, and server errors; the write operation waits for the server to group commit to the journal file on disk 
 | 
MAJORITY
Exceptions are raised for network issues, and server errors; waits on a majority of servers for the write operation 
 | 
NORMAL
Exceptions are raised for network issues, but not server errors 
 | 
REPLICAS_SAFE
Exceptions are raised for network issues, and server errors; waits for at least 2 servers for the write operation 
 | 
SAFE
Exceptions are raised for network issues, and server errors; waits on a server for the write operation 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static MongoEntityStoreConfiguration.WriteConcern | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static MongoEntityStoreConfiguration.WriteConcern[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final MongoEntityStoreConfiguration.WriteConcern NORMAL
public static final MongoEntityStoreConfiguration.WriteConcern SAFE
public static final MongoEntityStoreConfiguration.WriteConcern MAJORITY
public static final MongoEntityStoreConfiguration.WriteConcern FSYNC_SAFE
public static final MongoEntityStoreConfiguration.WriteConcern JOURNAL_SAFE
public static final MongoEntityStoreConfiguration.WriteConcern REPLICAS_SAFE
public static MongoEntityStoreConfiguration.WriteConcern[] values()
for (MongoEntityStoreConfiguration.WriteConcern c : MongoEntityStoreConfiguration.WriteConcern.values()) System.out.println(c);
public static MongoEntityStoreConfiguration.WriteConcern valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null