Class DelegatingCloudManager
- java.lang.Object
-
- org.apache.solr.client.solrj.cloud.autoscaling.DelegatingCloudManager
-
- All Implemented Interfaces:
Closeable,AutoCloseable,SolrCloudManager,SolrCloseable
public class DelegatingCloudManager extends Object implements SolrCloudManager
Base class for overriding some behavior ofSolrCloudManager.
-
-
Field Summary
Fields Modifier and Type Field Description protected SolrCloudManagerdelegate
-
Constructor Summary
Constructors Constructor Description DelegatingCloudManager(SolrCloudManager delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ClusterStateProvidergetClusterStateProvider()DistribStateManagergetDistribStateManager()DistributedQueueFactorygetDistributedQueueFactory()NodeStateProvidergetNodeStateProvider()ObjectCachegetObjectCache()TimeSourcegetTimeSource()byte[]httpRequest(String url, SolrRequest.METHOD method, Map<String,String> headers, String payload, int timeout, boolean followRedirects)booleanisClosed()SolrResponserequest(SolrRequest req)
-
-
-
Field Detail
-
delegate
protected final SolrCloudManager delegate
-
-
Constructor Detail
-
DelegatingCloudManager
public DelegatingCloudManager(SolrCloudManager delegate)
-
-
Method Detail
-
getClusterStateProvider
public ClusterStateProvider getClusterStateProvider()
- Specified by:
getClusterStateProviderin interfaceSolrCloudManager
-
getNodeStateProvider
public NodeStateProvider getNodeStateProvider()
- Specified by:
getNodeStateProviderin interfaceSolrCloudManager
-
getDistribStateManager
public DistribStateManager getDistribStateManager()
- Specified by:
getDistribStateManagerin interfaceSolrCloudManager
-
getDistributedQueueFactory
public DistributedQueueFactory getDistributedQueueFactory()
- Specified by:
getDistributedQueueFactoryin interfaceSolrCloudManager
-
getObjectCache
public ObjectCache getObjectCache()
- Specified by:
getObjectCachein interfaceSolrCloudManager
-
isClosed
public boolean isClosed()
- Specified by:
isClosedin interfaceSolrCloseable
-
getTimeSource
public TimeSource getTimeSource()
- Specified by:
getTimeSourcein interfaceSolrCloudManager
-
request
public SolrResponse request(SolrRequest req) throws IOException
- Specified by:
requestin interfaceSolrCloudManager- Throws:
IOException
-
httpRequest
public byte[] httpRequest(String url, SolrRequest.METHOD method, Map<String,String> headers, String payload, int timeout, boolean followRedirects) throws IOException
- Specified by:
httpRequestin interfaceSolrCloudManager- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-