类 XDevApiConnectionUrl

    • 构造器详细资料

      • XDevApiConnectionUrl

        public XDevApiConnectionUrl​(ConnectionUrlParser connStrParser,
                                    Properties info)
        Constructs an instance of XDevApiConnectionUrl, performing all the required initializations.
        参数:
        connStrParser - a ConnectionUrlParser instance containing the parsed version of the original connection string
        info - the connection arguments map
    • 方法详细资料

      • preprocessPerTypeHostProperties

        protected void preprocessPerTypeHostProperties​(Map<String,​String> hostProps)
        从类复制的说明: ConnectionUrl
        Subclasses should override this to perform any required pre-processing on the host information properties.
        覆盖:
        preprocessPerTypeHostProperties 在类中 ConnectionUrl
        参数:
        hostProps - the host properties map to process
      • getDefaultPort

        public int getDefaultPort()
        从类复制的说明: ConnectionUrl
        Returns the default port. Subclasses must override this method if they have different default port value.
        覆盖:
        getDefaultPort 在类中 ConnectionUrl
        返回:
        the default port
      • fixProtocolDependencies

        protected void fixProtocolDependencies​(Map<String,​String> hostProps)
        从类复制的说明: ConnectionUrl
        Fixes the protocol (TCP vs PIPE) dependencies for the given host properties map.
        覆盖:
        fixProtocolDependencies 在类中 ConnectionUrl
        参数:
        hostProps - the host properties map to fix
      • getHostsList

        public List<HostInfo> getHostsList​(HostsListView view)
        从类复制的说明: ConnectionUrl
        Returns a list of the hosts in this connection URL, filtered for the given view. By default returns all hosts. Subclasses should override this method in order to implement support for different views, usually by splitting the global hosts into smaller sub-lists.
        覆盖:
        getHostsList 在类中 ConnectionUrl
        参数:
        view - the type of the view to use in the returned list of hosts. This argument is ignored in this implementation.
        返回:
        the hosts list from this connection URL, filtered for the given view.