Class UpdateShardHandler

    • Method Detail

      • getName

        public String getName()
        Description copied from interface: SolrInfoBean
        Simple common usage name, e.g. BasicQueryHandler, or fully qualified class name.
        Specified by:
        getName in interface SolrInfoBean
      • getMetricNames

        public Set<String> getMetricNames()
        Description copied from interface: SolrInfoBean
        Modifiable set of metric names that this component reports (default is null, which means none). If not null then this set is used by SolrInfoBean.registerMetricName(String) to capture what metrics names are reported from this component.

        NOTE: this set has to allow iteration under modifications.

        Specified by:
        getMetricNames in interface SolrInfoBean
      • getMetricRegistry

        public com.codahale.metrics.MetricRegistry getMetricRegistry()
        Description copied from interface: SolrInfoBean
        An instance of MetricRegistry that this component uses for metrics reporting (default is null, which means no registry).
        Specified by:
        getMetricRegistry in interface SolrInfoBean
      • getDefaultHttpClient

        public org.apache.http.client.HttpClient getDefaultHttpClient()
      • getUpdateOnlyHttpClient

        public Http2SolrClient getUpdateOnlyHttpClient()
      • getRecoveryOnlyHttpClient

        public org.apache.http.client.HttpClient getRecoveryOnlyHttpClient()
      • getUpdateExecutor

        public ExecutorService getUpdateExecutor()
        This method returns an executor that is meant for non search related tasks.
        Returns:
        an executor for update side related activities.
      • getDefaultConnectionManager

        public org.apache.http.impl.conn.PoolingHttpClientConnectionManager getDefaultConnectionManager()
      • getRecoveryOnlyConnectionManager

        public org.apache.http.impl.conn.PoolingHttpClientConnectionManager getRecoveryOnlyConnectionManager()
      • getRecoveryExecutor

        public ExecutorService getRecoveryExecutor()
        Returns:
        executor for recovery operations
      • close

        public void close()
      • getSocketTimeout

        public int getSocketTimeout()
      • getConnectionTimeout

        public int getConnectionTimeout()