Uses of Class
org.postgresql.util.HostSpec
-
Packages that use HostSpec Package Description org.postgresql org.postgresql.core org.postgresql.core.v3 org.postgresql.hostchooser org.postgresql.jdbc -
-
Uses of HostSpec in org.postgresql
Methods in org.postgresql that return HostSpec Modifier and Type Method Description private static HostSpec[]
Driver. hostSpecs(java.util.Properties props)
-
Uses of HostSpec in org.postgresql.core
Fields in org.postgresql.core declared as HostSpec Modifier and Type Field Description private HostSpec
PGStream. hostSpec
Methods in org.postgresql.core that return HostSpec Modifier and Type Method Description HostSpec
PGStream. getHostSpec()
HostSpec
QueryExecutor. getHostSpec()
HostSpec
QueryExecutorBase. getHostSpec()
Methods in org.postgresql.core with parameters of type HostSpec Modifier and Type Method Description static QueryExecutor
ConnectionFactory. openConnection(HostSpec[] hostSpecs, java.util.Properties info)
Establishes and initializes a new connection.abstract QueryExecutor
ConnectionFactory. openConnectionImpl(HostSpec[] hostSpecs, java.util.Properties info)
Implementation ofConnectionFactory.openConnection(org.postgresql.util.HostSpec[], java.util.Properties)
for a particular protocol version.Constructors in org.postgresql.core with parameters of type HostSpec Constructor Description PGStream(javax.net.SocketFactory socketFactory, HostSpec hostSpec)
Deprecated.PGStream(javax.net.SocketFactory socketFactory, HostSpec hostSpec, int timeout)
Deprecated.PGStream(javax.net.SocketFactory socketFactory, HostSpec hostSpec, int timeout, int maxSendBufferSize)
Constructor: Connect to the PostgreSQL back end and return a stream connection. -
Uses of HostSpec in org.postgresql.core.v3
Methods in org.postgresql.core.v3 with parameters of type HostSpec Modifier and Type Method Description QueryExecutor
ConnectionFactoryImpl. openConnectionImpl(HostSpec[] hostSpecs, java.util.Properties info)
private PGStream
ConnectionFactoryImpl. tryConnect(java.util.Properties info, javax.net.SocketFactory socketFactory, HostSpec hostSpec, SslMode sslMode, GSSEncMode gssEncMode)
-
Uses of HostSpec in org.postgresql.hostchooser
Fields in org.postgresql.hostchooser declared as HostSpec Modifier and Type Field Description (package private) HostSpec
GlobalHostStatusTracker.HostSpecStatus. host
HostSpec
CandidateHost. hostSpec
private HostSpec[]
MultiHostChooser. hostSpecs
Fields in org.postgresql.hostchooser with type parameters of type HostSpec Modifier and Type Field Description private static java.util.Map<HostSpec,GlobalHostStatusTracker.HostSpecStatus>
GlobalHostStatusTracker. hostStatusMap
Methods in org.postgresql.hostchooser that return types with arguments of type HostSpec Modifier and Type Method Description (package private) static java.util.List<HostSpec>
GlobalHostStatusTracker. getCandidateHosts(HostSpec[] hostSpecs, HostRequirement targetServerType, long hostRecheckMillis)
Returns a list of candidate hosts that have the required targetServerType.Methods in org.postgresql.hostchooser with parameters of type HostSpec Modifier and Type Method Description static HostChooser
HostChooserFactory. createHostChooser(HostSpec[] hostSpecs, HostRequirement targetServerType, java.util.Properties info)
(package private) static java.util.List<HostSpec>
GlobalHostStatusTracker. getCandidateHosts(HostSpec[] hostSpecs, HostRequirement targetServerType, long hostRecheckMillis)
Returns a list of candidate hosts that have the required targetServerType.static void
GlobalHostStatusTracker. reportHostStatus(HostSpec hostSpec, HostStatus hostStatus)
Store the actual observed host status.Method parameters in org.postgresql.hostchooser with type arguments of type HostSpec Modifier and Type Method Description private static java.util.List<CandidateHost>
MultiHostChooser. withReqStatus(HostRequirement requirement, java.util.List<HostSpec> hosts)
Constructors in org.postgresql.hostchooser with parameters of type HostSpec Constructor Description CandidateHost(HostSpec hostSpec, HostRequirement targetServerType)
HostSpecStatus(HostSpec host)
MultiHostChooser(HostSpec[] hostSpecs, HostRequirement targetServerType, java.util.Properties info)
SingleHostChooser(HostSpec hostSpec, HostRequirement targetServerType)
-
Uses of HostSpec in org.postgresql.jdbc
Constructors in org.postgresql.jdbc with parameters of type HostSpec Constructor Description PgConnection(HostSpec[] hostSpecs, java.util.Properties info, java.lang.String url)
-