Spring Data for VMware GemFire
Annotation Interface PartitionRegion
Annotation defining the Partition Region in which the application persistent entity will be stored.- Since:
- 1.9.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfacePartitionRegion.FixedPartitiondefined fixed partition meta-data within aDataPolicy.PARTITIONRegion. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSets the name of theRegionto which this persistent entity'sRegionwill be collocated.Name of theDiskStorein which this persistent entity's data is overflowed and/or persisted.booleanDetermines whether disk-based operations (used in overflow and persistence) are synchronous or asynchronous.Defines an array of fixed partitions in aDataPolicy.PARTITIONRegionDefault is unset.booleanDetermines whether an entity annotated with this Region annotation will ignore any existing Region definition identified by the givenname()for this entity.booleanDetermines whether thisRegion'sdata access operations participates in any existing, Global JTA transaction in progress.Name, or fully-qualified bean name of theRegionin which the application persistent entity will be stored (e.g.Name of thePartitionResolverused to customize the partitioning strategy in this persistent entity'sDataPolicy.PARTITIONRegion.booleanDetermines whether this persistent entity'sRegionis persistent, storing data to disk.intDefines the number of redundant copies of this persistent entity's data.Name, or fully-qualified bean name of theRegionin which the application persistent entity will be stored (e.g.
-
Element Details
-
name
Name, or fully-qualified bean name of theRegionin which the application persistent entity will be stored (e.g. "Users", or "/Local/Admin/Users"). Defaults to simple name of the application persistent entity defined byClass.getSimpleName().- Returns:
- the name or fully-qualified path of the
Regionin which the application persistent entity will be stored.
- Default:
- ""
-
value
Name, or fully-qualified bean name of theRegionin which the application persistent entity will be stored (e.g. "Users", or "/Local/Admin/Users"). Defaults to simple name of the application persistent entity defined byClass.getSimpleName().- Returns:
- the name or fully-qualified path of the
Regionin which the application persistent entity will be stored.
- Default:
- ""
-
collocatedWith
String collocatedWithSets the name of theRegionto which this persistent entity'sRegionwill be collocated. Collocation is used in data access, querying operations where the user wishes to combine data from multipleRegionsinto a single result set returned from an OQL statement. Defaults to unset.- Default:
- ""
-
diskStoreName
String diskStoreNameName of theDiskStorein which this persistent entity's data is overflowed and/or persisted. Maybe the name of a Spring bean defined in the Spring context. Defaults to unset.- Default:
- ""
-
diskSynchronous
boolean diskSynchronousDetermines whether disk-based operations (used in overflow and persistence) are synchronous or asynchronous. Defaults to synchronous.- Default:
- true
-
fixedPartitions
PartitionRegion.FixedPartition[] fixedPartitionsDefines an array of fixed partitions in aDataPolicy.PARTITIONRegionDefault is unset.- See Also:
-
FixedPartitionAttributes
- Default:
- {}
-
ignoreIfExists
boolean ignoreIfExistsDetermines whether an entity annotated with this Region annotation will ignore any existing Region definition identified by the givenname()for this entity. Defaults to true.- Default:
- true
-
ignoreJta
boolean ignoreJtaDetermines whether thisRegion'sdata access operations participates in any existing, Global JTA transaction in progress. Defaults to false (will NOT ignore JTA).- Default:
- false
-
partitionResolverName
String partitionResolverNameName of thePartitionResolverused to customize the partitioning strategy in this persistent entity'sDataPolicy.PARTITIONRegion. This setting may also be the name of a Spring bean defined in the Spring context. Defaults to unset, thus using the default GemFire/Geode partitioning strategy.- Default:
- ""
-
persistent
boolean persistentDetermines whether this persistent entity'sRegionis persistent, storing data to disk. Note, this setting independent of whether or not theRegionassociated with this persistent entity overflows data to disk during eviction due to entry/heap/memory constraints. ARegioncan also be persistent without an explicitDiskStoredefined; in that case, GemFire/Geode writes to the "DEFAULT"DiskStore. Defaults to false.- See Also:
-
DataPolicy
- Default:
- false
-
redundantCopies
int redundantCopiesDefines the number of redundant copies of this persistent entity's data. Defaults to 0.- Default:
- 0
-