Show Table of Contents
40.6. Configure Partition Handling
In Red Hat JBoss Data Grid, partition handling is disabled as a default.
Declarative Configuration (Library Mode)
Enable partition handling declaratively as follows:
<distributed-cache name="distributed_cache"
owners="2"
l1-lifespan="20000">
<partition-handling enabled="true"/>
</distributed-cache>Declarative Configuration (Remote Client-server Mode)
Enable partition handling declaratively in remote client-server mode by using the following configuration:
<subsystem xmlns="urn:infinispan:server:core:8.3" default-cache-container="clustered">
<cache-container name="clustered" default-cache="default" statistics="true">
<distributed-cache name="default" mode="SYNC" segments="20" owners="2"
remote-timeout="30000" start="EAGER">
<partition-handling enabled="true" />
<locking isolation="READ_COMMITTED" acquire-timeout="30000"
concurrency-level="1000" striping="false"/>
<transaction mode="NONE"/>
</distributed-cache>
</cache-container>
</subsystem>
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.