Package | Description |
---|---|
org.postgresql.core | |
org.postgresql.core.v3 | |
org.postgresql.hostchooser | |
org.postgresql.jdbc |
Modifier and Type | Method and Description |
---|---|
HostSpec |
QueryExecutorBase.getHostSpec() |
HostSpec |
QueryExecutor.getHostSpec() |
HostSpec |
PGStream.getHostSpec() |
Modifier and Type | Method and Description |
---|---|
static QueryExecutor |
ConnectionFactory.openConnection(HostSpec[] hostSpecs,
String user,
String database,
Properties info)
Establishes and initializes a new connection.
|
abstract QueryExecutor |
ConnectionFactory.openConnectionImpl(HostSpec[] hostSpecs,
String user,
String database,
Properties info)
Implementation of
ConnectionFactory.openConnection(org.postgresql.util.HostSpec[], java.lang.String, java.lang.String, java.util.Properties) for a particular protocol version. |
Constructor and Description |
---|
PGStream(SocketFactory socketFactory,
HostSpec hostSpec)
|
PGStream(SocketFactory socketFactory,
HostSpec hostSpec,
int timeout)
Constructor: Connect to the PostgreSQL back end and return a stream connection.
|
Modifier and Type | Method and Description |
---|---|
QueryExecutor |
ConnectionFactoryImpl.openConnectionImpl(HostSpec[] hostSpecs,
String user,
String database,
Properties info) |
Modifier and Type | Method and Description |
---|---|
Iterator<HostSpec> |
SingleHostChooser.iterator() |
Iterator<HostSpec> |
MultiHostChooser.iterator() |
Iterator<HostSpec> |
HostChooser.iterator()
Lists connection hosts in preferred order.
|
Modifier and Type | Method and Description |
---|---|
static HostChooser |
HostChooserFactory.createHostChooser(HostSpec[] hostSpecs,
HostRequirement targetServerType,
Properties info) |
static void |
GlobalHostStatusTracker.reportHostStatus(HostSpec hostSpec,
HostStatus hostStatus)
Store the actual observed host status.
|
Constructor and Description |
---|
MultiHostChooser(HostSpec[] hostSpecs,
HostRequirement targetServerType,
Properties info) |
SingleHostChooser(HostSpec hostSpec) |
Constructor and Description |
---|
PgConnection(HostSpec[] hostSpecs,
String user,
String database,
Properties info,
String url) |
Copyright © 2017 PostgreSQL Global Development Group. All rights reserved.