| Package | Description |
|---|---|
| com.mysql.cj.conf |
| Modifier and Type | Field and Description |
|---|---|
private ConnectionUrl.Type |
ConnectionUrl.Type.alternateDnsSrvType |
protected ConnectionUrl.Type |
ConnectionUrl.type |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionUrl.Type |
ConnectionUrl.Type.fromValue(java.lang.String scheme,
int n)
Returns the
ConnectionUrl.Type corresponding to the given scheme and number of hosts, if any. |
ConnectionUrl.Type |
ConnectionUrl.Type.getAlternateDnsSrvType() |
ConnectionUrl.Type |
ConnectionUrl.getType()
Returns this connection URL type.
|
static ConnectionUrl.Type |
ConnectionUrl.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionUrl.Type[] |
ConnectionUrl.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
Type(java.lang.String scheme,
ConnectionUrl.HostsCardinality cardinality,
java.lang.String implementingClass,
PropertyKey dnsSrvPropertyKey,
ConnectionUrl.Type alternateDnsSrvType) |