public enum IndexMaintenancePolicyType extends Enum<IndexMaintenancePolicyType>
AttributesFactory.setIndexMaintenanceSynchronous(boolean)
,
RegionAttributes.getIndexMaintenanceSynchronous()
,
RegionFactory.setIndexMaintenanceSynchronous(boolean)
Enum Constant and Description |
---|
ASYNCHRONOUS |
SYNCHRONOUS |
Modifier and Type | Field and Description |
---|---|
static IndexMaintenancePolicyType |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
void |
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 |
valueOf(String name)
Returns the enum constant of this type 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 type, in
the order they are declared.
|
public static final IndexMaintenancePolicyType SYNCHRONOUS
public static final IndexMaintenancePolicyType ASYNCHRONOUS
public static final IndexMaintenancePolicyType DEFAULT
public static IndexMaintenancePolicyType[] values()
for (IndexMaintenancePolicyType c : IndexMaintenancePolicyType.values()) System.out.println(c);
public static IndexMaintenancePolicyType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static IndexMaintenancePolicyType valueOfIgnoreCase(String name)
name
- the String value indicating the type of Index maintenance (update).String.equalsIgnoreCase(String)
,
Enum.name()
public void setIndexMaintenance(org.apache.geode.cache.AttributesFactory attributesFactory)
attributesFactory
- the AttributesFactory instance on which to set the indexMaintenanceProperty.NullPointerException
- if the AttributesFactory reference is null.setIndexMaintenance(org.apache.geode.cache.RegionFactory)
public void setIndexMaintenance(org.apache.geode.cache.RegionFactory regionFactory)
regionFactory
- the RegionFactory instance on which to set the indexMaintenanceProperty.NullPointerException
- if the RegionFactory reference is null.setIndexMaintenance(org.apache.geode.cache.AttributesFactory)
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.