Ce contenu n'est pas disponible dans la langue sélectionnée.
6.3. Clustered Modes
- Replication Mode replicates any entry that is added across all cache instances in the cluster.
- Invalidation Mode does not share any data, but signals remote caches to initiate the removal of invalid entries.
- Distribution Mode stores each entry on a subset of nodes instead of on all nodes in the cluster.
6.3.1. Asynchronous and Synchronous Operations Copier lienLien copié sur presse-papiers!
6.3.2. Cache Mode Troubleshooting Copier lienLien copié sur presse-papiers!
6.3.2.1. Invalid Data in ReadExternal Copier lienLien copié sur presse-papiers!
readExternal, it can be because when using Cache.putAsync(), starting serialization can cause your object to be modified, causing the datastream passed to readExternal to be corrupted. This can be resolved if access to the object is synchronized.
6.3.2.2. About Asynchronous Communications Copier lienLien copié sur presse-papiers!
local-cache, distributed-cache and replicated-cache elements respectively. Each of these elements contains a mode property, the value of which can be set to SYNC for synchronous or ASYNC for asynchronous communications.
Example 6.1. Asynchronous Communications Example Configuration
Note
6.3.2.3. Cluster Physical Address Retrieval Copier lienLien copié sur presse-papiers!
The physical address can be retrieved using an instance method call. For example: AdvancedCache.getRpcManager().getTransport().getPhysicalAddresses().