Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
5.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.
5.3.1. Asynchronous and Synchronous Operations Link kopierenLink in die Zwischenablage kopiert!
5.3.2. About Asynchronous Communications Link kopierenLink in die Zwischenablage kopiert!
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 5.1. Asynchronous Communications Example Configuration
Note
5.3.3. Cache Mode Troubleshooting Link kopierenLink in die Zwischenablage kopiert!
5.3.3.1. Invalid Data in ReadExternal Link kopierenLink in die Zwischenablage kopiert!
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.
5.3.3.2. Cluster Physical Address Retrieval Link kopierenLink in die Zwischenablage kopiert!
The physical address can be retrieved using an instance method call. For example: AdvancedCache.getRpcManager().getTransport().getPhysicalAddresses()
.