Uses of Class
org.postgresql.hostchooser.HostRequirement
-
Packages that use HostRequirement Package Description org.postgresql.hostchooser -
-
Uses of HostRequirement in org.postgresql.hostchooser
Fields in org.postgresql.hostchooser declared as HostRequirement Modifier and Type Field Description HostRequirementCandidateHost. targetServerTypeprivate HostRequirementMultiHostChooser. targetServerTypeMethods in org.postgresql.hostchooser that return HostRequirement Modifier and Type Method Description static HostRequirementHostRequirement. getTargetServerType(java.lang.String targetServerType)The postgreSQL project has decided not to use the term slave to refer to alternate servers.static HostRequirementHostRequirement. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HostRequirement[]HostRequirement. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.postgresql.hostchooser with parameters of type HostRequirement Modifier and Type Method Description static HostChooserHostChooserFactory. 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.private java.util.List<CandidateHost>MultiHostChooser. getCandidateHosts(HostRequirement hostRequirement)private java.util.List<CandidateHost>MultiHostChooser. withReqStatus(HostRequirement requirement, java.util.List<HostSpec> hosts)Constructors in org.postgresql.hostchooser with parameters of type HostRequirement Constructor Description CandidateHost(HostSpec hostSpec, HostRequirement targetServerType)MultiHostChooser(HostSpec[] hostSpecs, HostRequirement targetServerType, java.util.Properties info)SingleHostChooser(HostSpec hostSpec, HostRequirement targetServerType)
-