Another way to use predefined region attributes is in cache.xml by setting
the refid attribute on a region element or region-attributes element to the
string of each value.

Since:

6.5

Enum Constant Summary

LOCAL
A LOCAL region only has local state and never sends operations to others.

LOCAL_HEAP_LRU
A LOCAL_HEAP_LRU region only has local state and never sends operations to others.

LOCAL_OVERFLOW
A LOCAL_OVERFLOW region only has local state and never sends operations to others.

LOCAL_PERSISTENT
A LOCAL_PERSISTENT region only has local state and never sends operations to others
but it does write its state to disk and can recover that state when the region
is created.

LOCAL_PERSISTENT_OVERFLOW
A LOCAL_PERSISTENT_OVERFLOW region only has local state and never sends operations to others
but it does write its state to disk and can recover that state when the region
is created.

PARTITION
A PARTITION has local state that is partitioned across each peer member
that created the region.

PARTITION_HEAP_LRU
A PARTITION_HEAP_LRU has local state that is partitioned across each peer member
that created the region.

PARTITION_OVERFLOW
A PARTITION_OVERFLOW has local state that is partitioned across each peer member
that created the region.

PARTITION_PERSISTENT
A PARTITION_PERSISTENT has local state that is partitioned across each peer member
that created the region.

PARTITION_PERSISTENT_OVERFLOW
A PARTITION_PERSISTENT_OVERFLOW has local state that is partitioned across each peer member
that created the region.

PARTITION_PROXY
A PARTITION_PROXY has no local state and forwards all operations to a PARTITION
or a PARTITION_PERSISTENT that exists in its peers.

PARTITION_PROXY_REDUNDANT
A PARTITION_PROXY_REDUNDANT has no local state and forwards all operations to a PARTITION_REDUNDANT
or a PARTITION_REDUNDANT_PERSISTENT that exists in its peers.

PARTITION_REDUNDANT
A PARTITION_REDUNDANT has local state that is partitioned across each peer member
that created the region.

PARTITION_REDUNDANT_HEAP_LRU
A PARTITION_REDUNDANT_HEAP_LRU has local state that is partitioned across each peer member
that created the region.

PARTITION_REDUNDANT_OVERFLOW
A PARTITION_REDUNDANT_OVERFLOW has local state that is partitioned across each peer member
that created the region.

PARTITION_REDUNDANT

A PARTITION_REDUNDANT has local state that is partitioned across each peer member
that created the region.
In addition an extra copy of the data is kept in memory.
The actual RegionAttributes for a PARTITION_REDUNDANT region set the DataPolicy to DataPolicy.PARTITION and the redundant-copies to 1.

PARTITION_PERSISTENT

A PARTITION_PERSISTENT has local state that is partitioned across each peer member
that created the region.
In addition its state is written to disk and recovered from disk when the region
is created.
The actual RegionAttributes for a PARTITION_PERSISTENT region set the DataPolicy to DataPolicy.PERSISTENT_PARTITION.

PARTITION_REDUNDANT_PERSISTENT

A PARTITION_REDUNDANT_PERSISTENT has local state that is partitioned across each peer member
that created the region.
In addition its state is written to disk and recovered from disk when the region
is created.
In addition an extra copy of the data is kept in memory.
The actual RegionAttributes for a PARTITION_REDUNDANT_PERSISTENT region set the DataPolicy to DataPolicy.PERSISTENT_PARTITION and the redundant-copies to 1.

PARTITION_REDUNDANT_PERSISTENT_OVERFLOW

public static final RegionShortcutPARTITION_REDUNDANT_PERSISTENT_OVERFLOW

A PARTITION_REDUNDANT_PERSISTENT_OVERFLOW has local state that is partitioned across each peer member
that created the region.
In addition its state is written to disk and recovered from disk when the region
is created.
In addition an extra copy of the data is kept in memory.
It will also remove the values of entries from memory once it detects that the
java vm is running low of memory.
The actual RegionAttributes for a PARTITION_REDUNDANT_PERSISTENT_OVERFLOW region set the DataPolicy to DataPolicy.PERSISTENT_PARTITION, the redundant-copies to 1,
and EvictionAttributes are set to EvictionAlgorithm.LRU_HEAP
with EvictionAction.OVERFLOW_TO_DISK.

LOCAL_PERSISTENT

A LOCAL_PERSISTENT region only has local state and never sends operations to others
but it does write its state to disk and can recover that state when the region
is created.
The actual RegionAttributes for a LOCAL_PERSISTENT region set the DataPolicy to DataPolicy.PERSISTENT_REPLICATE.

PARTITION_PROXY

A PARTITION_PROXY has no local state and forwards all operations to a PARTITION
or a PARTITION_PERSISTENT that exists in its peers.
The actual RegionAttributes for a PARTITION_PROXY region set the DataPolicy to DataPolicy.PARTITION and the local-max-memory to 0.

PARTITION_PROXY_REDUNDANT

A PARTITION_PROXY_REDUNDANT has no local state and forwards all operations to a PARTITION_REDUNDANT
or a PARTITION_REDUNDANT_PERSISTENT that exists in its peers.
The actual RegionAttributes for a PARTITION_PROXY_REDUNDANT region set the DataPolicy to DataPolicy.PARTITION, the local-max-memory to 0,
and the redundant-copies to 1.

REPLICATE_PROXY

A REPLICATE_PROXY has no local state and forwards all operations to a REPLICATE
or a REPLICATE_PERSISTENT that exists in its peers.
The actual RegionAttributes for a REPLICATE_PROXY region set the DataPolicy to DataPolicy.EMPTY and Scope to Scope.DISTRIBUTED_ACK.

valueOf

Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)