Uses of Class
org.forgerock.opendj.ldap.ConsistentHashMap
Package
Description
Classes and interfaces for core types including connections, entries, and
attributes.
-
Uses of ConsistentHashMap in org.forgerock.opendj.ldap
Modifier and TypeMethodDescriptionstatic <T> ConsistentHashMap<T>
ConsistentHashMap.newMurmur3ConsistentHashMap()
Creates a new consistent hash map which will hash keys using Murmur3.Puts a partition into this consistent hash map using the default weight which is sufficiently high to ensure a reasonably uniform distribution among all partitions having the same weight.Puts a partition into this consistent hash map using the specified weight.Copies all the partitions from the specifiedmap
to this consistent hash map..Removes the partition that was previously added using the provided partition ID.Modifier and TypeMethodDescriptionstatic LdapClient
LdapClients.newFixedSizeDistributionLoadBalancer
(Set<Dn> partitionBaseDns, ConsistentHashMap<? extends LdapClient> partitions, Options options) Creates a distribution load balancer which uses consistent hashing to distributes requests across a set of partitions based on a hash of each request's target DN.