public class XDevApiConnectionUrl extends ConnectionUrl
ConnectionUrl.HostsCardinality, ConnectionUrl.TypeDEFAULT_HOST, hosts, originalConnStr, originalDatabase, properties, type| Constructor and Description |
|---|
XDevApiConnectionUrl(ConnectionUrlParser connStrParser,
java.util.Properties info)
Constructs an instance of
XDevApiConnectionUrl, performing all the required initializations. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fixProtocolDependencies(java.util.Map<java.lang.String,java.lang.String> hostProps)
Fixes the protocol (TCP vs PIPE) dependencies for the given host properties map.
|
int |
getDefaultPort()
Returns the default port.
|
java.util.List<HostInfo> |
getHostsList(HostsListView view)
Returns a list of the hosts in this connection URL, filtered for the given view.
|
protected void |
preprocessPerTypeHostProperties(java.util.Map<java.lang.String,java.lang.String> hostProps)
Subclasses should override this to perform any required pre-processing on the host information properties.
|
acceptsUrl, buildHostInfo, collectHostsInfo, collectProperties, expandPropertiesFromConfigFiles, fixHostInfo, getConnectionArgumentsAsProperties, getConnectionUrlInstance, getDatabase, getDatabaseUrl, getDefaultHost, getDefaultPassword, getDefaultUser, getHostOrSpawnIsolated, getHostOrSpawnIsolated, getHostsList, getHostsListFromDnsSrv, getMainHost, getOriginalProperties, getPropertiesFromConfigFiles, getType, hostsCount, injectPerTypeProperties, replaceLegacyPropertyValues, setupPropertiesTransformer, toStringpublic XDevApiConnectionUrl(ConnectionUrlParser connStrParser, java.util.Properties info)
XDevApiConnectionUrl, performing all the required initializations.connStrParser - a ConnectionUrlParser instance containing the parsed version of the original connection stringinfo - the connection arguments mapprotected void preprocessPerTypeHostProperties(java.util.Map<java.lang.String,java.lang.String> hostProps)
ConnectionUrlpreprocessPerTypeHostProperties in class ConnectionUrlhostProps - the host properties map to processpublic int getDefaultPort()
ConnectionUrlgetDefaultPort in class ConnectionUrlprotected void fixProtocolDependencies(java.util.Map<java.lang.String,java.lang.String> hostProps)
ConnectionUrlfixProtocolDependencies in class ConnectionUrlhostProps - the host properties map to fixpublic java.util.List<HostInfo> getHostsList(HostsListView view)
ConnectionUrlgetHostsList in class ConnectionUrlview - the type of the view to use in the returned list of hosts. This argument is ignored in this implementation.