Top Description Constructors Methods
org.postgresql.hostchooser

public Class HostChooserFactory

extends Object
Class Inheritance
Imports
org.postgresql.util.HostSpec, java.util.Properties

Chooses a HostChooser instance based on the number of hosts and properties.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static HostChooser
createHostChooser(HostSpec[] hostSpecs, HostRequirement targetServerType, Properties info)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

HostChooserFactoryback to summary
public HostChooserFactory()

Method Detail

createHostChooserback to summary
public static HostChooser createHostChooser(HostSpec[] hostSpecs, HostRequirement targetServerType, Properties info)