Spring Data for VMware GemFire
Annotation Interface ReplicateRegion
Annotation defining the Replicate Region in which the application persistent entity will be stored.- Since:
- 1.9.0
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionName 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.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.booleanDetermines whether this persistent entity'sRegionis persistent, storing data to disk.Defines theScopeused by this persistent entity'sDataPolicy.REPLICATERegionto acknowledge messages sent between peers.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:
- ""
-
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
-
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
-
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
-
scope
ScopeType scopeDefines theScopeused by this persistent entity'sDataPolicy.REPLICATERegionto acknowledge messages sent between peers. Defaults toScopeType.DISTRIBUTED_NO_ACK- Default:
- DISTRIBUTED_NO_ACK
-