Package org.postgresql.hostchooser
Interface HostChooser
-
- All Known Implementing Classes:
MultiHostChooser,SingleHostChooser
public interface HostChooserLists connections in preferred order.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Iterator<HostSpec>iterator()Lists connection hosts in preferred order.
-
-
-
Method Detail
-
iterator
java.util.Iterator<HostSpec> iterator()
Lists connection hosts in preferred order.- Returns:
- connection hosts in preferred order.
-
-