Serializable
, Comparable<MapOptions.WriteMode>
public static enum MapOptions.WriteMode extends Enum<MapOptions.WriteMode>
Enum Constant | Description |
---|---|
WRITE_BEHIND |
In write behind mode all data written in map object
also written using MapWriter in asynchronous mode.
|
WRITE_THROUGH |
In write through mode all write operations for map object
are synchronized with MapWriter write operations.
|
Modifier and Type | Method | Description |
---|---|---|
static MapOptions.WriteMode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MapOptions.WriteMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapOptions.WriteMode WRITE_BEHIND
public static final MapOptions.WriteMode WRITE_THROUGH
public static MapOptions.WriteMode[] values()
for (MapOptions.WriteMode c : MapOptions.WriteMode.values()) System.out.println(c);
public static MapOptions.WriteMode 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 © 2014–2018 The Redisson Project. All rights reserved.