public enum AcceptanceDecision extends Enum<AcceptanceDecision>
remote modification operation
should be accepted
or discarded. Used in DefaultEventualConsistencyStrategy
.Enum Constant and Description |
---|
ACCEPT
Acceptance decision -- the remote modification operation is applied to the local
ChronicleHash state. |
DISCARD
Discard decision -- the remote modification operation is rejected.
|
Modifier and Type | Method and Description |
---|---|
static AcceptanceDecision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AcceptanceDecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcceptanceDecision ACCEPT
ChronicleHash
state.public static final AcceptanceDecision DISCARD
public static AcceptanceDecision[] values()
for (AcceptanceDecision c : AcceptanceDecision.values()) System.out.println(c);
public static AcceptanceDecision 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 © 2015. All rights reserved.