public enum WriteConcernType extends Enum<WriteConcernType>
| Enum Constant and Description |
|---|
ACKNOWLEDGED |
JOURNALED |
MAJORITY |
UNACKNOWLEDGED |
| Modifier and Type | Method and Description |
|---|---|
static WriteConcernType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteConcernType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteConcernType ACKNOWLEDGED
public static final WriteConcernType UNACKNOWLEDGED
public static final WriteConcernType JOURNALED
public static final WriteConcernType MAJORITY
public static WriteConcernType[] values()
for (WriteConcernType c : WriteConcernType.values()) System.out.println(c);
public static WriteConcernType 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 nullCopyright © 2017 JBoss by Red Hat. All rights reserved.