Este conteúdo não está disponível no idioma selecionado.
D.10. Hash Space Allocation
D.10.1. About Hash Space Allocation Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
Red Hat JBoss Data Grid is responsible for allocating a portion of the total available hash space to each node. During subsequent operations that must store an entry, JBoss Data Grid creates a hash of the relevant key and stores the entry on the node that owns that portion of hash space.
D.10.2. Locating a Key in the Hash Space Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
Red Hat JBoss Data Grid always uses an algorithm to locate a key in the hash space. As a result, the node that stores the key is never manually specified. This scheme allows any node to know which node owns a particular key without such ownership information being distributed. This scheme reduces the amount of overhead and, more importantly, improves redundancy because the ownership information does not need to be replicated in case of node failure.
D.10.3. Requesting a Full Byte Array Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
How can I request the Red Hat JBoss Data Grid return a full byte array instead of partial byte array contents?
As a default, JBoss Data Grid only partially prints byte arrays to logs to avoid unnecessarily printing large byte arrays. This occurs when either:
- JBoss Data Grid caches are configured for lazy deserialization. Lazy deserialization is not available in JBoss Data Grid's Remote Client-Server mode.
- A
MemcachedorHot Rodserver is run.
In such cases, only the first ten positions of the byte array display in the logs. To display the complete contents of the byte array in the logs, pass the
-Dinfinispan.arrays.debug=true system property at start up.
Example D.1. Partial Byte Array Log