public class UpdateShardHandler extends Object
Constructor and Description |
---|
UpdateShardHandler(NodeConfig cfg)
Deprecated.
|
UpdateShardHandler(UpdateShardHandlerConfig cfg) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected ModifiableSolrParams |
getClientParams() |
org.apache.http.conn.ClientConnectionManager |
getConnectionManager() |
org.apache.http.client.HttpClient |
getHttpClient() |
ExecutorService |
getRecoveryExecutor()
In general, RecoveryStrategy threads do not do disk IO, but they open and close SolrCores
in async threads, amoung other things, and can trigger disk IO, so we use this alternate
executor rather than the 'updateExecutor', which is interrupted on shutdown.
|
ExecutorService |
getUpdateExecutor()
This method returns an executor that is not meant for disk IO and that will
be interrupted on shutdown.
|
void |
reconfigureHttpClient(HttpClientConfigurer configurer) |
@Deprecated public UpdateShardHandler(NodeConfig cfg)
public UpdateShardHandler(UpdateShardHandlerConfig cfg)
protected ModifiableSolrParams getClientParams()
public org.apache.http.client.HttpClient getHttpClient()
public void reconfigureHttpClient(HttpClientConfigurer configurer)
public org.apache.http.conn.ClientConnectionManager getConnectionManager()
public ExecutorService getUpdateExecutor()
public ExecutorService getRecoveryExecutor()
RecoveryStrategy
thread which will not be interrupted on close.public void close()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.