RemoteSynchronization

Documentation for RemoteSynchronization element

Description

Configures communication with other caches. Use the Connector child element to configure communication through either RMI (Remote Method Invocation) or JMS (Java Message Service).

Child elements

Note: Child elements must occur in the order shown.

Child elementMust occur at leastMay occur at most
Connector0 times (optional)1 time

Attributes

AttributeDescription and useType
Host

DO NOT USE. This is an attribute included only for backward compatibility.

optional
string
Port

DO NOT USE. This is an attribute included only for backward compatibility.

optional
integer
Queuesize

The size of this cache's event queue. If this is omitted then a maximum size of 128 events is assumed.

optional
integer
ServiceMonitorInterval

The amount of time (in milliseconds) that the Content Broker waits between checks to see if it can still establish communication with the Cache Channel Service (when using RMI) or the J2EE server (when using JMS). When communication is lost (for example, because of a restart of the Cache Channel Service), this parameter indicates the amount of time between attempts to reestablish communication. This means that any actions you perform within this time frame when communication is down, will not be synchronized. If you do not specify this attribute, a default value of 60 seconds is used.

optional
integer
FlushCacheDuringDisconnectInterval

If the Content Broker loses the connection to the Cache Channel Service or J2EE server, it continues to cache items while disconnected. (Note that the cache will be flushed as soon as the connection is reestablished.) This attribute specifies how often the cache should be flushed while the connection is unavailable. Possible values for this attribute are:

-1 (default value)

the cache is not flushed at all while the connection is lost.

0

the cache is flushed as soon as the connection is lost. No caching is done while the connection is unavailable. This prevents stale items in the Content Broker cache, but it can mean a serious performance hit.

a number equal to or higher than the value of ServiceMonitorInterval (which defaults to 60000 if left unspecified)

after the connection is lost, the Content Broker immediately flushes the cache, and continues to flush at the interval specified. Use this type of value to cause items to be cached while the connection is down, while still ensuring regular flushing.

optional
integer