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 @interface
PartitionRegion.FixedPartition
defined fixed partition meta-data within aDataPolicy.PARTITION
Region
. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSets the name of theRegion
to which this persistent entity'sRegion
will be collocated.Name of theDiskStore
in which this persistent entity's data is overflowed and/or persisted.boolean
Determines whether disk-based operations (used in overflow and persistence) are synchronous or asynchronous.Defines an array of fixed partitions in aDataPolicy.PARTITION
Region
Default is unset.boolean
Determines whether an entity annotated with this Region annotation will ignore any existing Region definition identified by the givenname()
for this entity.boolean
Determines whether thisRegion's
data access operations participates in any existing, Global JTA transaction in progress.Name, or fully-qualified bean name of theRegion
in which the application persistent entity will be stored (e.g.Name of thePartitionResolver
used to customize the partitioning strategy in this persistent entity'sDataPolicy.PARTITION
Region
.boolean
Determines whether this persistent entity'sRegion
is persistent, storing data to disk.int
Defines the number of redundant copies of this persistent entity's data.Name, or fully-qualified bean name of theRegion
in which the application persistent entity will be stored (e.g.
-
Element Details
-
name
Name, or fully-qualified bean name of theRegion
in 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
Region
in which the application persistent entity will be stored.
- Default:
- ""
-
value
Name, or fully-qualified bean name of theRegion
in 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
Region
in which the application persistent entity will be stored.
- Default:
- ""
-
collocatedWith
String collocatedWithSets the name of theRegion
to which this persistent entity'sRegion
will be collocated. Collocation is used in data access, querying operations where the user wishes to combine data from multipleRegions
into a single result set returned from an OQL statement. Defaults to unset.- Default:
- ""
-
diskStoreName
String diskStoreNameName of theDiskStore
in 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.PARTITION
Region
Default 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's
data access operations participates in any existing, Global JTA transaction in progress. Defaults to false (will NOT ignore JTA).- Default:
- false
-
partitionResolverName
String partitionResolverNameName of thePartitionResolver
used to customize the partitioning strategy in this persistent entity'sDataPolicy.PARTITION
Region
. 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'sRegion
is persistent, storing data to disk. Note, this setting independent of whether or not theRegion
associated with this persistent entity overflows data to disk during eviction due to entry/heap/memory constraints. ARegion
can also be persistent without an explicitDiskStore
defined; 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
-