| Package | Description |
|---|---|
| org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
| Modifier and Type | Method and Description |
|---|---|
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.remove(String partitionId)
Removes the partition that was previously added using the provided partition ID.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionFactory |
Connections.newFixedSizeDistributionLoadBalancer(DN partitionBaseDN,
ConsistentHashMap<? extends ConnectionFactory> partitions,
org.forgerock.util.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.
|
Copyright © 2017-2020 Wren Security. All Rights Reserved.