The partition handling configuration for distributed and replicated caches.
| Type | BOOLEAN |
| Default Value | false |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | no-services |
| Stability Level | default |
| Raw DMR model |
|
| Type | STRING |
| Default Value | NONE |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | resource-services |
| Allowed Values |
PREFERRED_NON_NULL PREFERRED_ALWAYS NONE REMOVE_ALL |
| Stability Level | default |
| Raw DMR model |
|
| Type | STRING |
| Default Value | ALLOW_READ_WRITES |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | resource-services |
| Allowed Values |
DENY_READ_WRITES ALLOW_READ_WRITES ALLOW_READS |
| Stability Level | default |
| Raw DMR model |
|
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| enabled | BOOLEAN | false | true | false | If enabled, the cache will enter degraded mode upon detecting a network partition that threatens the integrity of the cache. |
| merge-policy | STRING | false | true | NONE | Defines the policy for resolving cache entry conflicts when merging partitions. |
| when-split | STRING | false | true | ALLOW_READ_WRITES | Defines the availability of cache entries after a network partition is detected. |
| Raw DMR model |
|
| Raw DMR model |
|
Galleon features are to be used when creating Galleon feature-packs.
<feature spec="subsystem.infinispan.cache-container.distributed-cache.component.partition-handling">
<param name="cache-container" value="{resource name}"/>
<param name="distributed-cache" value="{resource name}"/>
<param name="enabled" value="{value}"/>
<param name="merge-policy" value="{value}"/>
<param name="when-split" value="{value}"/>
<feature/>