Uses of Enum Class
org.postgresql.hostchooser.HostRequirement
Packages that use HostRequirement
-
Uses of HostRequirement in org.postgresql.hostchooser
Fields in org.postgresql.hostchooser declared as HostRequirementModifier and TypeFieldDescriptionfinal HostRequirement
CandidateHost.targetServerType
private final HostRequirement
MultiHostChooser.targetServerType
Methods in org.postgresql.hostchooser that return HostRequirementModifier and TypeMethodDescriptionstatic HostRequirement
HostRequirement.getTargetServerType
(String targetServerType) The postgreSQL project has decided not to use the term slave to refer to alternate servers.static HostRequirement
Returns the enum constant of this class with the specified name.static HostRequirement[]
HostRequirement.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.postgresql.hostchooser with parameters of type HostRequirementModifier 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.private List
<CandidateHost> MultiHostChooser.getCandidateHosts
(HostRequirement hostRequirement) private List
<CandidateHost> MultiHostChooser.withReqStatus
(HostRequirement requirement, List<HostSpec> hosts) Constructors in org.postgresql.hostchooser with parameters of type HostRequirementModifierConstructorDescriptionCandidateHost
(HostSpec hostSpec, HostRequirement targetServerType) (package private)
MultiHostChooser
(HostSpec[] hostSpecs, HostRequirement targetServerType, Properties info) (package private)
SingleHostChooser
(HostSpec hostSpec, HostRequirement targetServerType)