Package com.scaleout.client.caching
Enum Class GeoServerPullPolicy
- All Implemented Interfaces:
Serializable
,Comparable<GeoServerPullPolicy>
,Constable
The
GeoServerPullPolicy
enum is used to indicate whether objects added to the cache will be accessible to remote
stores via 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 ConstantDescriptionRemote access will be allowed.Remote access will be disabled. -
Method Summary
Modifier and TypeMethodDescriptionstatic GeoServerPullPolicy
fromString
(String value) Retrieve a GeoServerPullPolicy enum from a string.static GeoServerPullPolicy
Returns the enum constant of this class with the specified name.static GeoServerPullPolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Disabled
Remote access will be disabled. -
AllowRemoteAccess
Remote access will be allowed.
-
-
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 GeoServerPullPolicy enum from a string. Accepted values:Constants.GEOSERVER_PULL_POLICY_ALLOW
Constants.GEOSERVER_PULL_POLICY_DISABLED
- Parameters:
value
-Constants.GEOSERVER_PULL_POLICY_ALLOW
, orConstants.GEOSERVER_PULL_POLICY_DISABLED
- Returns:
- a GeoServerPullPolicy that maps from the parameter string value.
-