Class Region
java.lang.Object
org.apache.geode.management.configuration.AbstractConfiguration<R>
org.apache.geode.management.configuration.GroupableConfiguration<RuntimeRegionInfo>
org.apache.geode.management.configuration.Region
- All Implemented Interfaces:
Serializable,Identifiable<String>,JsonSerializable
this holds the region attributes you can configure using management rest api
for regions created using gfsh but listed using management rest api, the attributes not supported
by management rest api won't be shown.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic enumstatic classstatic enumstatic enum -
Field Summary
FieldsFields inherited from class org.apache.geode.management.configuration.AbstractConfiguration
CLUSTER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExpiry(Region.ExpirationType type, Integer timeout, Region.ExpirationAction action) booleangetId()ReturnsgetName().getLinks()getName()getType()inthashCode()booleanReturns true if the RuntimeInfo will be the same on all members; false if each member can have different RuntimeInfo.voidsetDiskStoreName(String diskStoreName) voidsetEviction(Region.Eviction eviction) voidsetExpirations(List<Region.Expiration> expirations) voidsetKeyConstraint(String keyConstraint) voidvoidsetRedundantCopies(Integer redundantCopies) voidsetType(RegionType type) voidsetValueConstraint(String valueConstraint) toString()Methods inherited from class org.apache.geode.management.configuration.GroupableConfiguration
getGroup, setGroupMethods inherited from class org.apache.geode.management.configuration.AbstractConfiguration
getCreationCommandType, getGroupName, isCluster
-
Field Details
-
REGION_CONFIG_ENDPOINT
- See Also:
-
SEPARATOR
- See Also:
-
SEPARATOR_CHAR
public static final char SEPARATOR_CHAR- See Also:
-
-
Constructor Details
-
Region
public Region()
-
-
Method Details
-
isGlobalRuntime
public boolean isGlobalRuntime()Description copied from class:AbstractConfigurationReturns true if the RuntimeInfo will be the same on all members; false if each member can have different RuntimeInfo.- Overrides:
isGlobalRuntimein classAbstractConfiguration<RuntimeRegionInfo>- Returns:
- true if the RuntimeInfo will be the same on all members
-
getLinks
- Specified by:
getLinksin classAbstractConfiguration<RuntimeRegionInfo>
-
getId
ReturnsgetName().- Specified by:
getIdin interfaceIdentifiable<String>- Specified by:
getIdin classAbstractConfiguration<RuntimeRegionInfo>- Returns:
- an identifier uniquely identifying this Object.
-
getName
-
setName
-
getType
-
setType
-
getRedundantCopies
- Returns:
- the redundant copies of a region
-
setRedundantCopies
-
getKeyConstraint
-
setKeyConstraint
-
getValueConstraint
-
setValueConstraint
-
getDiskStoreName
-
setDiskStoreName
-
getExpirations
-
setExpirations
-
getEviction
-
setEviction
-
addExpiry
-
equals
- Overrides:
equalsin classGroupableConfiguration<RuntimeRegionInfo>
-
hashCode
public int hashCode()- Overrides:
hashCodein classGroupableConfiguration<RuntimeRegionInfo>
-
toString
-