Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
6.5. Configure Distribution Mode
Distribution mode is a clustered mode in Red Hat JBoss Data Grid. Distribution mode can be added to any cache container, in both Library Mode and Remote Client-Server Mode, using the following procedure:
Procedure 6.1. The distributed-cache Element
The
distributed-cache element configures settings for the distributed cache using the following parameters:
- The
nameparameter provides a unique identifier for the cache. - The
modeparameter sets the clustered cache mode. Valid values areSYNC(synchronous) andASYNC(asynchronous). - The (optional)
segmentsparameter specifies the number of hash space segments per cluster. The recommended value for this parameter is ten multiplied by the cluster size and the default value is20. - The
startparameter specifies whether the cache starts when the server starts up or when it is requested or deployed. - The
ownersparameter indicates the number of nodes that will contain the hash segment. - If
statisticsare enabled at the container level, per-cache statistics can be selectively disabled for caches that do not require monitoring by setting thestatisticsattribute tofalse.
Important
JGroups must be appropriately configured for clustered mode before attempting to load this configuration.