Package org.springframework.data.gemfire
Enum Class IndexMaintenancePolicyType
java.lang.Object
java.lang.Enum<IndexMaintenancePolicyType>
org.springframework.data.gemfire.IndexMaintenancePolicyType
- All Implemented Interfaces:
Serializable
,Comparable<IndexMaintenancePolicyType>
,Constable
The
IndexMaintenancePolicyType
enum is a enumerated type of GemFire Index maintenance update options.- Since:
- 1.6.0
- See Also:
-
AttributesFactory.setIndexMaintenanceSynchronous(boolean)
RegionAttributes.getIndexMaintenanceSynchronous()
RegionFactory.setIndexMaintenanceSynchronous(boolean)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setIndexMaintenance
(org.apache.geode.cache.AttributesFactory<?, ?> attributesFactory) Sets the GemFire AttributesFactory's 'indexMaintenanceSynchronous' property appropriately based on this IndexMaintenancePolicyType.void
setIndexMaintenance
(org.apache.geode.cache.RegionFactory<?, ?> regionFactory) Sets the GemFire RegionFactory's 'indexMaintenanceSynchronous' property appropriately based on this IndexMaintenancePolicyType.static IndexMaintenancePolicyType
Returns the enum constant of this class with the specified name.static IndexMaintenancePolicyType
valueOfIgnoreCase
(String name) Return an IndexMaintenanceType enumerated value given a case-insensitive, named String value describing the type of Index maintenance.static IndexMaintenancePolicyType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SYNCHRONOUS
-
ASYNCHRONOUS
-
-
Field Details
-
DEFAULT
-
-
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
-
valueOfIgnoreCase
Return an IndexMaintenanceType enumerated value given a case-insensitive, named String value describing the type of Index maintenance.- Parameters:
name
- the String value indicating the type of Index maintenance (update).- Returns:
- an IndexMaintenanceType enumerated value given a case-insensitive, named String value describing the type of Index maintenance, or null if no match was found.
- See Also:
-
setIndexMaintenance
public void setIndexMaintenance(org.apache.geode.cache.AttributesFactory<?, ?> attributesFactory) Sets the GemFire AttributesFactory's 'indexMaintenanceSynchronous' property appropriately based on this IndexMaintenancePolicyType.- Parameters:
attributesFactory
- the AttributesFactory instance on which to set the indexMaintenanceProperty.- Throws:
NullPointerException
- if the AttributesFactory reference is null.- See Also:
-
setIndexMaintenance
public void setIndexMaintenance(org.apache.geode.cache.RegionFactory<?, ?> regionFactory) Sets the GemFire RegionFactory's 'indexMaintenanceSynchronous' property appropriately based on this IndexMaintenancePolicyType.- Parameters:
regionFactory
- the RegionFactory instance on which to set the indexMaintenanceProperty.- Throws:
NullPointerException
- if the RegionFactory reference is null.- See Also:
-