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