Enum Class IndexMaintenancePolicyType

java.lang.Object
java.lang.Enum<IndexMaintenancePolicyType>
org.springframework.data.gemfire.IndexMaintenancePolicyType
All Implemented Interfaces:
Serializable, Comparable<IndexMaintenancePolicyType>, Constable

public enum IndexMaintenancePolicyType extends Enum<IndexMaintenancePolicyType>
The IndexMaintenancePolicyType enum is a enumerated type of GemFire Index maintenance update options.
Since:
1.6.0
Author:
John Blum
See Also:
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static IndexMaintenancePolicyType[] 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

      public static IndexMaintenancePolicyType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • valueOfIgnoreCase

      public static IndexMaintenancePolicyType valueOfIgnoreCase(String name)
      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(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(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: