public enum GeoServerCoherencyPolicy extends java.lang.Enum<GeoServerCoherencyPolicy>
GeoServerCoherencyPolicy
is used to indicate the type of coherency policy used for GeoServer "pull" replication.Enum Constant and Description |
---|
NoAutoRefresh
Proxy objects in other stores should not be refreshed automatically.
|
Notify
Remote stores should be notified of changes to the object, so they can refresh their proxy object.
|
Poll
Proxy objects will be periodically refreshed in remote stores.
|
Modifier and Type | Method and Description |
---|---|
static GeoServerCoherencyPolicy |
fromString(java.lang.String policy)
Retrieve a GeoServerCoherencyPolicy enum from a string.
|
static GeoServerCoherencyPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeoServerCoherencyPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoServerCoherencyPolicy NoAutoRefresh
public static final GeoServerCoherencyPolicy Poll
public static final GeoServerCoherencyPolicy Notify
public static GeoServerCoherencyPolicy[] values()
for (GeoServerCoherencyPolicy c : GeoServerCoherencyPolicy.values()) System.out.println(c);
public static GeoServerCoherencyPolicy 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 nullpublic static GeoServerCoherencyPolicy fromString(java.lang.String policy)
Constants.GEOSERVER_COHERENCY_POLICY_NO
Constants.GEOSERVER_COHERENCY_POLICY_NOTIFY
Constants.GEOSERVER_COHERENCY_POLICY_POLL
policy
- Constants.GEOSERVER_COHERENCY_POLICY_NO
, Constants.GEOSERVER_COHERENCY_POLICY_NOTIFY
Constants.GEOSERVER_COHERENCY_POLICY_POLL