class SingleHostChooser extends java.lang.Object implements HostChooser
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<CandidateHost> |
candidateHost |
Constructor and Description |
---|
SingleHostChooser(HostSpec hostSpec,
HostRequirement targetServerType) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<CandidateHost> |
iterator()
Lists connection hosts in preferred order.
|
private final java.util.Collection<CandidateHost> candidateHost
SingleHostChooser(HostSpec hostSpec, HostRequirement targetServerType)
public java.util.Iterator<CandidateHost> iterator()
HostChooser
iterator
in interface java.lang.Iterable<CandidateHost>
iterator
in interface HostChooser