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()
HostChooser
iterator
in interface HostChooser
Copyright © 2016 PostgreSQL Global Development Group. All rights reserved.