Package org.postgresql.hostchooser
Interface HostChooser
-
- All Superinterfaces:
Iterable<CandidateHost>
public interface HostChooser extends Iterable<CandidateHost>
Lists connections in preferred order.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterator<CandidateHost>
iterator()
Lists connection hosts in preferred order.-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
iterator
Iterator<CandidateHost> iterator()
Lists connection hosts in preferred order.- Specified by:
iterator
in interfaceIterable<CandidateHost>
- Returns:
- connection hosts in preferred order.
-
-