public enum GeoServerReadMode extends java.lang.Enum<GeoServerReadMode> implements java.io.Serializable
Enum Constant and Description |
---|
LocalDoNotThrowOnStaleData
Indicates that the retrieve operation can return the object value from the proxy held in the local ScaleOut store
if it should exist and no exception will be thrown if the local proxy value is stale.
|
LocalThrowOnStaleData
Indicates that the retrieve operation can return the object's value from the local proxy if it should exist.
|
None
Indicates that GeoServer replication is not used with this cache.
|
Remote
Indicates that the caller has configured GeoServer for "pull" replication and wants to force the local store to
read the object from the remote store (rather than reading from a local proxy of the object if it should exist).
|
Modifier and Type | Method and Description |
---|---|
static GeoServerReadMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeoServerReadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoServerReadMode None
LocalDoNotThrowOnStaleData
.public static final GeoServerReadMode Remote
public static final GeoServerReadMode LocalThrowOnStaleData
public static final GeoServerReadMode LocalDoNotThrowOnStaleData
public static GeoServerReadMode[] values()
for (GeoServerReadMode c : GeoServerReadMode.values()) System.out.println(c);
public static GeoServerReadMode 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