public class SolrClientCloudManager extends Object implements SolrCloudManager
SolrCloudManager
using a SolrClientModifier and Type | Field and Description |
---|---|
protected CloudSolrClient |
solrClient |
Constructor and Description |
---|
SolrClientCloudManager(DistributedQueueFactory queueFactory,
CloudSolrClient solrClient) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ClusterStateProvider |
getClusterStateProvider() |
DistribStateManager |
getDistribStateManager() |
DistributedQueueFactory |
getDistributedQueueFactory() |
NodeStateProvider |
getNodeStateProvider() |
ObjectCache |
getObjectCache() |
TimeSource |
getTimeSource() |
byte[] |
httpRequest(String url,
SolrRequest.METHOD method,
Map<String,String> headers,
String payload,
int timeout,
boolean followRedirects) |
boolean |
isClosed() |
SolrResponse |
request(SolrRequest req) |
protected final CloudSolrClient solrClient
public SolrClientCloudManager(DistributedQueueFactory queueFactory, CloudSolrClient solrClient)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public boolean isClosed()
isClosed
in interface SolrCloseable
public ObjectCache getObjectCache()
getObjectCache
in interface SolrCloudManager
public TimeSource getTimeSource()
getTimeSource
in interface SolrCloudManager
public ClusterStateProvider getClusterStateProvider()
getClusterStateProvider
in interface SolrCloudManager
public NodeStateProvider getNodeStateProvider()
getNodeStateProvider
in interface SolrCloudManager
public DistribStateManager getDistribStateManager()
getDistribStateManager
in interface SolrCloudManager
public SolrResponse request(SolrRequest req) throws IOException
request
in interface SolrCloudManager
IOException
public byte[] httpRequest(String url, SolrRequest.METHOD method, Map<String,String> headers, String payload, int timeout, boolean followRedirects) throws IOException
httpRequest
in interface SolrCloudManager
IOException
public DistributedQueueFactory getDistributedQueueFactory()
getDistributedQueueFactory
in interface SolrCloudManager
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.