public enum WriteConcurrencyMode extends Enum<WriteConcurrencyMode>
| Enum Constant and Description |
|---|
OPTIMISTIC_CONCURRENCY_CONTROL |
SINGLE_WRITER |
| Modifier and Type | Method and Description |
|---|---|
static WriteConcurrencyMode |
fromValue(String value)
Convert string value to WriteConcurrencyMode.
|
boolean |
supportsOptimisticConcurrencyControl() |
String |
value()
Getter for write concurrency mode.
|
static WriteConcurrencyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteConcurrencyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteConcurrencyMode SINGLE_WRITER
public static final WriteConcurrencyMode OPTIMISTIC_CONCURRENCY_CONTROL
public static WriteConcurrencyMode[] values()
for (WriteConcurrencyMode c : WriteConcurrencyMode.values()) System.out.println(c);
public static WriteConcurrencyMode 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 nullpublic String value()
public static WriteConcurrencyMode fromValue(String value)
public boolean supportsOptimisticConcurrencyControl()
Copyright © 2022 The Apache Software Foundation. All rights reserved.