org.postgresql.hostchooser
Class MultiHostChooser
java.lang.Object
org.postgresql.hostchooser.MultiHostChooser
- All Implemented Interfaces:
- HostChooser
public class MultiHostChooser
- extends Object
- implements HostChooser
HostChooser that keeps track of known host statuses.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiHostChooser
protected MultiHostChooser(HostSpec[] hostSpecs,
HostRequirement targetServerType,
Properties info)
iterator
public Iterator<HostSpec> iterator()
- Description copied from interface:
HostChooser
- Lists connection hosts in preferred order.
- Specified by:
iterator
in interface HostChooser
- Returns:
- connection hosts in preferred order.
Copyright © 2016 PostgreSQL Global Development Group. All rights reserved.