mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-387 add a way to limit hash lookup slots to 4 bytes
This commit is contained in:
@@ -555,6 +555,17 @@ public interface ChronicleHashBuilder<K, H extends ChronicleHash<K, ?, ?, ?>,
|
||||
*/
|
||||
B immutableKeys();
|
||||
|
||||
/**
|
||||
* Specifies whether on the current combination of platform, OS and Jvm aligned 8-byte reads
|
||||
* and writes are atomic or not. By default, Chronicle tries to determine this itself, but
|
||||
* if it fails it pessimistically assumes that 64-bit memory operations are <i>not</i> atomic.
|
||||
*
|
||||
* @param aligned64BitMemoryOperationsAtomic {@code true} if aligned 8-byte memory operations
|
||||
* are atomic
|
||||
* @return this builder back
|
||||
*/
|
||||
B aligned64BitMemoryOperationsAtomic(boolean aligned64BitMemoryOperationsAtomic);
|
||||
|
||||
/**
|
||||
* Configures replication of the hash containers, created by this builder. See <a
|
||||
* href="https://github.com/OpenHFT/Chronicle-Map#tcp--udp-replication"> the section about
|
||||
|
||||
Reference in New Issue
Block a user