public class RandomConnectionStrategy extends Object implements ConnectionStrategy
ACTIVE_PASSIVE, DEFAULT, RANDOM, ROUND_ROBIN| Constructor and Description |
|---|
RandomConnectionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getLdapUrls(ConnectionFactoryMetadata metadata)
Return a list of URLs in random order.
|
public String[] getLdapUrls(ConnectionFactoryMetadata metadata)
getLdapUrls in interface ConnectionStrategymetadata - which can be used to produce the URL listCopyright © 2023. All rights reserved.