public class RdsDnsAnalyzer extends Object
Constructor and Description |
---|
RdsDnsAnalyzer() |
Modifier and Type | Method and Description |
---|---|
@Nullable String |
getRdsClusterHostUrl(String host)
Retrieves the cluster host URl from a connection string
|
@Nullable String |
getRdsInstanceHostPattern(String host)
Retrieve the instance host pattern from the host
|
boolean |
isRdsClusterDns(String host)
Checks if the host is an RDS cluster using DNS
|
boolean |
isRdsCustomClusterDns(String host)
Checks if the connection is a custom cluster name
|
boolean |
isRdsDns(String host)
Checks if the connection is a standard RDS DNS connection
|
boolean |
isRdsProxyDns(String host)
Checks if the connection is Proxy DNS connection
|
boolean |
isReaderClusterDns(String host)
Checks if the host is connected to a read-only cluster
|
boolean |
isWriterClusterDns(String host)
Checks if the host is connected to a writer cluster
|
public boolean isRdsDns(String host)
host
- The host of the connectionpublic boolean isRdsProxyDns(String host)
host
- The host of the connectionpublic boolean isRdsClusterDns(String host)
host
- The host of the connectionpublic boolean isWriterClusterDns(String host)
host
- The host of the connectionpublic boolean isReaderClusterDns(String host)
host
- The host of the connectionpublic boolean isRdsCustomClusterDns(String host)
host
- The host of the connectionpublic @Nullable String getRdsInstanceHostPattern(String host)
host
- The host of the connectionCopyright © 1997-2021 PostgreSQL Global Development Group. All Rights Reserved.