Top Description Methods
org.postgresql.hostchooser

public Interface HostChooser

extends Iterable<CandidateHost>
Known Direct Implementers
org.postgresql.hostchooser.MultiHostChooser, org.postgresql.hostchooser.SingleHostChooser
Imports
java.util.Iterator

Lists connections in preferred order.

Method Summary

Modifier and TypeMethod and Description
public Iterator<CandidateHost>

Returns:

connection hosts in preferred order.
iterator
()

Redeclares java.lang.Iterable.iterator.

Lists connection hosts in preferred order.

Inherited from java.lang.Iterable:
forEachspliterator

Method Detail

iteratorback to summary
public Iterator<CandidateHost> iterator()

Redeclares java.lang.Iterable.iterator.

Lists connection hosts in preferred order.

Returns:Iterator<CandidateHost>

connection hosts in preferred order.

Annotations
@Override