| Modifier and Type | Field and Description |
|---|---|
| public static final HostRequirement | |
| public static final HostRequirement | master
Deprecated
we no longer use the terms master or slave in the driver, or the PostgreSQL
project.
|
| public static final HostRequirement | |
| public static final HostRequirement | |
| public static final HostRequirement | |
| public static final HostRequirement |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public abstract boolean | |
| public static HostRequirement | Returns: HostRequirementthe value of targetServerType)targetServerType connection propertyThe postgreSQL project has decided not to use the term slave to refer to alternate servers. |
| public static HostRequirement | |
| public static HostRequirement[] |
| any | back to summary |
|---|---|
| public static final HostRequirement any | |
| master | back to summary |
|---|---|
| public static final HostRequirement master
Deprecated we no longer use the terms master or slave in the driver, or the PostgreSQL project. | |
| preferPrimary | back to summary |
|---|---|
| public static final HostRequirement preferPrimary | |
| preferSecondary | back to summary |
|---|---|
| public static final HostRequirement preferSecondary | |
| primary | back to summary |
|---|---|
| public static final HostRequirement primary | |
| secondary | back to summary |
|---|---|
| public static final HostRequirement secondary | |
| HostRequirement | back to summary |
|---|---|
| private HostRequirement() | |
| allowConnectingTo | back to summary |
|---|---|
| public abstract boolean allowConnectingTo(@Nullable HostStatus status) | |
| getTargetServerType | back to summary |
|---|---|
| public static HostRequirement getTargetServerType(String targetServerType) The postgreSQL project has decided not to use the term slave to refer to alternate servers. secondary or standby is preferred. We have arbitrarily chosen secondary. As of Jan 2018 in order not to break existing code we are going to accept both slave or secondary for names of alternate servers. The current policy is to keep accepting this silently but not document slave, or slave preferSlave As of Jul 2018 silently deprecate the use of the word master as well
| |
| valueOf | back to summary |
|---|---|
| public static HostRequirement valueOf(String name) | |
| values | back to summary |
|---|---|
| public static HostRequirement[] values() | |