10.4.4. Remote Cache Store Configuration Attributes

The following configuration elements are specific to the remote cache configuration.
The Remote-Store Element

The remote-store element specifies the configuration information for a remote cache store accessed using Hot Rod. Properties defined within the remote-store element are treated as Hot Rod client properties.

  • The cache parameter specifies the name of the cache in use.
  • The socket-timeout parameter specifies the socket timeout time for the remote cache.
  • The tcp-no-delay parameter specifies whether TCP packets will be delayed and sent out in batches. Valid values for this parameter are true and false.
  • The fetch-state parameter determines whether the persistent state is fetched when joining a cluster. Valid values for this parameter are true and false.
  • The passivation parameter determines whether entries in the cache are passivated (true) or if the cache store retains a copy of the contents in memory (false).
  • The preload parameter specifies whether to load entries into the cache during start up. Valid values for this parameter are true and false.
  • The purge parameter specifies whether or not the cache store is purged when it is started. Valid values for this parameter are true and false.
The Remote-Server Element

The remote-server element provides information about the remote server used by the remote cache store.

  • The outbound-socket-binding parameter specifies the outbound socket for the remote cache store.

Important

Define the outbound socket for the remote cache store in the standalone.xml file as well to use the remote cache store.