public class SingleHostChooser extends Object implements HostChooser
Constructor and Description |
---|
SingleHostChooser(HostSpec hostSpec) |
Modifier and Type | Method and Description |
---|---|
Iterator<HostSpec> |
iterator()
Lists connection hosts in preferred order.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public SingleHostChooser(HostSpec hostSpec)
public Iterator<HostSpec> iterator()
HostChooser
iterator
in interface Iterable<HostSpec>
iterator
in interface HostChooser
Copyright © 2017 PostgreSQL Global Development Group. All rights reserved.