public class SolrClientCloudManager extends Object implements SolrCloudManager
SolrCloudManager
using a SolrClientConstructor 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) |
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-2018 Apache Software Foundation. All Rights Reserved.