Package com.scaleout.client.caching
Enum Class GeoServerCoherencyPolicy
- All Implemented Interfaces:
Serializable
,Comparable<GeoServerCoherencyPolicy>
,Constable
The
GeoServerCoherencyPolicy
is used to indicate the type of coherency policy used for GeoServer "pull" replication.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionProxy objects in other stores should not be refreshed automatically.Remote stores should be notified of changes to the object, so they can refresh their proxy object.Proxy objects will be periodically refreshed in remote stores. -
Method Summary
Modifier and TypeMethodDescriptionstatic GeoServerCoherencyPolicy
fromString
(String policy) Retrieve a GeoServerCoherencyPolicy enum from a string.static GeoServerCoherencyPolicy
Returns the enum constant of this class with the specified name.static GeoServerCoherencyPolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NoAutoRefresh
Proxy objects in other stores should not be refreshed automatically. -
Poll
Proxy objects will be periodically refreshed in remote stores. -
Notify
Remote stores should be notified of changes to the object, so they can refresh their proxy object.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
Retrieve a GeoServerCoherencyPolicy enum from a string. Accepted values:Constants.GEOSERVER_COHERENCY_POLICY_NO
Constants.GEOSERVER_COHERENCY_POLICY_NOTIFY
Constants.GEOSERVER_COHERENCY_POLICY_POLL
- Parameters:
policy
-Constants.GEOSERVER_COHERENCY_POLICY_NO
,Constants.GEOSERVER_COHERENCY_POLICY_NOTIFY
Constants.GEOSERVER_COHERENCY_POLICY_POLL
- Returns:
- a GeoServerCoherencyPolicy that maps from the parameter string value.
-