Uses of Class
org.postgresql.util.HostSpec
Packages that use HostSpec
Package
Description
-
Uses of HostSpec in org.postgresql
Methods in org.postgresql that return HostSpec -
Uses of HostSpec in org.postgresql.core
Fields in org.postgresql.core declared as HostSpecMethods in org.postgresql.core that return HostSpecModifier and TypeMethodDescriptionPGStream.getHostSpec()
QueryExecutor.getHostSpec()
QueryExecutorBase.getHostSpec()
Methods in org.postgresql.core with parameters of type HostSpecModifier and TypeMethodDescriptionstatic 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 ofConnectionFactory.openConnection(org.postgresql.util.HostSpec[], java.lang.String, java.lang.String, java.util.Properties)
for a particular protocol version.Constructors in org.postgresql.core with parameters of type HostSpecModifierConstructorDescriptionPGStream
(SocketFactory socketFactory, HostSpec hostSpec) Deprecated.PGStream
(SocketFactory socketFactory, HostSpec hostSpec, int timeout) 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 HostSpecModifier and TypeMethodDescriptionConnectionFactoryImpl.openConnectionImpl
(HostSpec[] hostSpecs, String user, String database, Properties info) private PGStream
ConnectionFactoryImpl.tryConnect
(String user, String database, Properties info, SocketFactory socketFactory, HostSpec hostSpec, SslMode sslMode) -
Uses of HostSpec in org.postgresql.hostchooser
Fields in org.postgresql.hostchooser declared as HostSpecModifier and TypeFieldDescription(package private) final HostSpec
GlobalHostStatusTracker.HostSpecStatus.host
final HostSpec
CandidateHost.hostSpec
private HostSpec[]
MultiHostChooser.hostSpecs
Fields in org.postgresql.hostchooser with type parameters of type HostSpecModifier and TypeFieldDescriptionprivate static final Map<HostSpec,
GlobalHostStatusTracker.HostSpecStatus> GlobalHostStatusTracker.hostStatusMap
Methods in org.postgresql.hostchooser that return types with arguments of type HostSpecModifier and TypeMethodDescriptionGlobalHostStatusTracker.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 HostSpecModifier and TypeMethodDescriptionstatic HostChooser
HostChooserFactory.createHostChooser
(HostSpec[] hostSpecs, HostRequirement targetServerType, Properties info) 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 HostSpecModifier and TypeMethodDescriptionprivate List<CandidateHost>
MultiHostChooser.withReqStatus
(HostRequirement requirement, List<HostSpec> hosts) Constructors in org.postgresql.hostchooser with parameters of type HostSpecModifierConstructorDescriptionCandidateHost
(HostSpec hostSpec, HostRequirement targetServerType) (package private)
HostSpecStatus
(HostSpec host) (package private)
MultiHostChooser
(HostSpec[] hostSpecs, HostRequirement targetServerType, Properties info) (package private)
SingleHostChooser
(HostSpec hostSpec, HostRequirement targetServerType) -
Uses of HostSpec in org.postgresql.jdbc
Constructors in org.postgresql.jdbc with parameters of type HostSpecModifierConstructorDescriptionPgConnection
(HostSpec[] hostSpecs, String user, String database, Properties info, String url)
PGStream(SocketFactory, org.postgresql.util.HostSpec, int)