Uses of Class
org.forgerock.opendj.ldap.ConsistentHashMap
-
Packages that use ConsistentHashMap Package Description org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes. -
-
Uses of ConsistentHashMap in org.forgerock.opendj.ldap
Methods in org.forgerock.opendj.ldap that return ConsistentHashMap Modifier and Type Method Description static <T> ConsistentHashMap<T>
ConsistentHashMap. newMurmur3ConsistentHashMap()
Creates a new consistent hash map which will hash keys using Murmur3.ConsistentHashMap<P>
ConsistentHashMap. put(String partitionId, P partition)
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.ConsistentHashMap<P>
ConsistentHashMap. put(String partitionId, P partition, int weight)
Puts a partition into this consistent hash map using the specified weight.ConsistentHashMap<P>
ConsistentHashMap. putAll(Map<String,P> map)
Copies all the partitions from the specifiedmap
to this consistent hash map..ConsistentHashMap<P>
ConsistentHashMap. remove(String partitionId)
Removes the partition that was previously added using the provided partition ID.Methods in org.forgerock.opendj.ldap with parameters of type ConsistentHashMap Modifier and Type Method Description static 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.
-