19.2. Configure Passivation

In Red Hat JBoss Data Grid's Remote Client-Server mode, add the passivation parameter to the cache store element to toggle passivation for it:

Example 19.1. Toggle Passivation in Remote Client-Server Mode

<local-cache name="customCache"/>
	<!-- Additional configuration elements here -->
	<file-store passivation="true"
		    <!-- Additional configuration elements here --> />
	<!-- Additional configuration elements here -->
</local-cache>
In Library mode, add the passivation parameter to the persistence element to toggle passivation:

Example 19.2. Toggle Passivation in Library Mode

<persistence passivation="true">
   <!-- Additional configuration elements here -->
</persistence>