public static enum IntoMongoDbOptionMixin.WriteConcern extends java.lang.Enum<IntoMongoDbOptionMixin.WriteConcern>
| Enum Constant and Description |
|---|
FSYNC_SAFE |
JOURNAL_SAFE |
MAJORITY |
NONE |
NORMAL |
REPLICAS_SAFE |
SAFE |
| Modifier and Type | Method and Description |
|---|---|
static IntoMongoDbOptionMixin.WriteConcern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntoMongoDbOptionMixin.WriteConcern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntoMongoDbOptionMixin.WriteConcern NONE
public static final IntoMongoDbOptionMixin.WriteConcern NORMAL
public static final IntoMongoDbOptionMixin.WriteConcern SAFE
public static final IntoMongoDbOptionMixin.WriteConcern FSYNC_SAFE
public static final IntoMongoDbOptionMixin.WriteConcern REPLICAS_SAFE
public static final IntoMongoDbOptionMixin.WriteConcern JOURNAL_SAFE
public static final IntoMongoDbOptionMixin.WriteConcern MAJORITY
public static IntoMongoDbOptionMixin.WriteConcern[] values()
for (IntoMongoDbOptionMixin.WriteConcern c : IntoMongoDbOptionMixin.WriteConcern.values()) System.out.println(c);
public static IntoMongoDbOptionMixin.WriteConcern valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null