Apache Geode CHANGELOG

Region Shortcuts Quick Reference

This section provides a quick reference for all region shortcuts.

Region Shortcuts Default Configurations summarizes the default configurations for each region shortcut. See the cross reference for additional information about each shortcut.

Table 1. Region Shortcuts Default Configurations

Region Shortcut Region Attributes Other Attributes
LOCAL scope: local
data-policy: NORMAL
LOCAL_HEAP_LRU scope: local
data-policy: NORMAL
Eviction Attributes

eviction-algorithm: lru-heap-percentage

eviction-action: local-destroy

LOCAL_OVERFLOW scope: local
data-policy: NORMAL
Eviction Attributes

eviction-algorithm: lru-heap-percentage

eviction-action: overflow-to-disk

LOCAL_PERSISTENT scope: local
data-policy: PERSISTENT_REPLICATE
LOCAL_PERSISTENT_OVERFLOW scope: local
data-policy: PERSISTENT_REPLICATE
Eviction Attributes

eviction-algorithm: lru-heap-percentage

eviction-action: overflow-to-disk

PARTITION data-policy: PARTITION
PARTITION_HEAP_LRU data-policy: PARTITION Eviction Attributes

eviction-algorithm: lru-heap-percentage

eviction-action: local-destroy

PARTITION_OVERFLOW data-policy: PARTITION Eviction Attributes

eviction-algorithm: lru-heap-percentage

eviction-action: overflow-to-disk

PARTITION_PERSISTENT data-policy: PERSISTENT_PARTITION
PARTITION_PERSISTENT_OVERFLOW data-policy: PERSISTENT_PARTITION Eviction Attributes

eviction-algorithm: lru-heap-percentage

eviction-action: overflow-to-disk

PARTITION_PROXY data-policy: PARTITION Partition Attributes

local-max-memory: 0

PARTITION_PROXY_REDUNDANT data-policy: PARTITION Partition Attributes

local-max-memory: 0

redundant-copies: 1

PARTITION_REDUNDANT data-policy: PARTITION Partition Attributes

redundant-copies: 1

PARTITION_REDUNDANT_HEAP_LRU data-policy: PARTITION Eviction Attributes

eviction-algorithm: lru-heap-percentage

eviction-action: local-destroy


Partition Attributes

redundant-copies: 1

PARTITION_REDUNDANT_OVERFLOW data-policy: PARTITION Eviction Attributes

eviction-algorithm: lru-heap-percentage

eviction-action: overflow-to-disk


Partition Attributes

redundant-copies: 1

PARTITION_REDUNDANT_PERSISTENT data-policy: PERSISTENT_PARTITION Partition Attributes

redundant-copies: 1

PARTITION_REDUNDANT_PERSISTENT_OVERFLOW data-policy: PERSISTENT_PARTITION Eviction Attributes

eviction-algorithm: lru-heap-percentage

eviction-action: overflow-to-disk


Partition Attributes

redundant-copies: 1

REPLICATE data-policy: REPLICATE
scope: distributed-ack
REPLICATE_HEAP_LRU data-policy: PRELOADED
scope: distributed-ack
Eviction Attributes

eviction-algorithm: lru-heap-percentage

eviction-action: local-destroy

Note: Normally, you cannot have a local-destroy eviction policy on replicated regions. However, the REPLICATE_HEAP_LRU region is not the same as other replicated regions. This region is preloaded and remains in synch by registering interest in the keys of its peer’s replicated regions.


Subscription Attributes

interest-policy: all

REPLICATE_OVERFLOW data-policy: REPLICATE
scope: distributed-ack
Eviction Attributes

eviction-algorithm: lru-heap-percentage

eviction-action: overflow-to-disk

REPLICATE_PERSISTENT data-policy: PERSISTENT_REPLICATE
scope: distributed-ack
REPLICATE_PERSISTENT_OVERFLOW data-policy: PERSISTENT_REPLICATE
scope: distributed-ack
Eviction Attributes

eviction-algorithm: lru-heap-percentage

eviction-action: overflow-to-disk

REPLICATE_PROXY data-policy: EMPTY
scope: distributed-ack