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 HostRequirementCandidateHost.targetServerTypeprivate final HostRequirementMultiHostChooser.targetServerTypeMethods in org.postgresql.hostchooser that return HostRequirementModifier and TypeMethodDescriptionstatic HostRequirementHostRequirement.getTargetServerType(String targetServerType) The postgreSQL project has decided not to use the term slave to refer to alternate servers.static HostRequirementReturns 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 HostChooserHostChooserFactory.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 static 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)