Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.5
  Go To Table Of Contents
 Search
 PDFComments
Comments


cache.coordination.rmi.packet-time-to-live

Use eclipselink.cache.coordination.rmi.packet-time-to-live to set the number of hops the session announcement data packets will take before expiring. The multicast group is used to find other members of the cluster.


Values

Table 5-17 describes this persistence property's values.

Table 5-17 Valid Values for cache.coordination.rmi.packet-time-to-live

Value Description

Numeric

Number of hops the session announcement data packets will take before expiring.

Default: 2



Usage

If sessions are hosted on different LANs that are part of WAN, the announcement sent by one session may not reach other sessions. In this case, consult your network administrator for the correct time-to-live value or test your network by increasing the value until each session receives announcement sent by others.

Use this property for RMI coordination (when eclipselink.cache.coordination.protocol = rmi).


Examples

See Example 5-7 to learn how to use this property in the persistence.xml file.


See Also

For more information, see: