public class MultiHostChooser extends Object implements HostChooser
| Modifier | Constructor and Description |
|---|---|
protected |
MultiHostChooser(HostSpec[] hostSpecs,
HostRequirement targetServerType,
Properties info) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<HostSpec> |
iterator()
Lists connection hosts in preferred order.
|
protected MultiHostChooser(HostSpec[] hostSpecs, HostRequirement targetServerType, Properties info)
public Iterator<HostSpec> iterator()
HostChooseriterator in interface HostChooserCopyright © 2016 PostgreSQL Global Development Group. All rights reserved.