Use eclipselink.cache.coordination.channel
to configure cache coordination for a clustered environment.
Values
Table 5-2 describes this persistence property's values.
Table 5-2 Valid Values for cache.coordination.channel
Value | Description |
---|---|
channel name |
The channel used for cache coordination. All persistence units using the same channel will be coordinated. Default: |
Examples
Example 5-2 shows how to use this persistence property extension in the persistence.xml
file.
Example 5-2 Using application-location in persistence.xml
<property name="eclipselink.cache.coordination.channel" value="EmployeeChannel" />
See Also
For more information, see:
"Cache Coordination" in Understanding EclipseLink
"Scaling EclipseLink Applications in Clusters" in Solutions Guide for EclispeLink
EclipseLink Cache Coordination example
http://wiki.eclipse.org/EclipseLink/Examples/JPA/CacheCoordination