public class SnapshotCloudManager extends Object implements SolrCloudManager
SolrCloudManager.| Modifier and Type | Field and Description |
|---|---|
static String |
AUTOSCALING_JSON_KEY
Deprecated.
|
static String |
AUTOSCALING_STATE_KEY
Deprecated.
|
static String |
CLUSTER_STATE_KEY
Deprecated.
|
static String |
DISTRIB_STATE_KEY
Deprecated.
|
static String |
MANAGER_STATE_KEY
Deprecated.
|
static String |
NODE_STATE_KEY
Deprecated.
|
static List<String> |
REQUIRED_KEYS
Deprecated.
|
static String |
STATISTICS_STATE_KEY
Deprecated.
|
| Constructor and Description |
|---|
SnapshotCloudManager(Map<String,Object> snapshot)
Deprecated.
|
SnapshotCloudManager(SolrCloudManager other,
AutoScalingConfig config)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
ClusterStateProvider |
getClusterStateProvider()
Deprecated.
|
DistribStateManager |
getDistribStateManager()
Deprecated.
|
DistributedQueueFactory |
getDistributedQueueFactory()
Deprecated.
|
NodeStateProvider |
getNodeStateProvider()
Deprecated.
|
ObjectCache |
getObjectCache()
Deprecated.
|
Map<String,Object> |
getSnapshot(boolean withAutoscaling,
boolean redact)
Deprecated.
|
TimeSource |
getTimeSource()
Deprecated.
|
byte[] |
httpRequest(String url,
SolrRequest.METHOD method,
Map<String,String> headers,
String payload,
int timeout,
boolean followRedirects)
Deprecated.
|
static SnapshotCloudManager |
readSnapshot(File sourceDir)
Deprecated.
|
SolrResponse |
request(SolrRequest req)
Deprecated.
|
void |
saveSnapshot(File targetDir,
boolean withAutoscaling,
boolean redact)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisClosedpublic static final String MANAGER_STATE_KEY
public static final String CLUSTER_STATE_KEY
public static final String NODE_STATE_KEY
public static final String DISTRIB_STATE_KEY
public static final String AUTOSCALING_STATE_KEY
public static final String STATISTICS_STATE_KEY
public static final String AUTOSCALING_JSON_KEY
public SnapshotCloudManager(SolrCloudManager other, AutoScalingConfig config) throws Exception
Exceptionpublic void saveSnapshot(File targetDir, boolean withAutoscaling, boolean redact) throws Exception
Exceptionpublic static SnapshotCloudManager readSnapshot(File sourceDir) throws Exception
Exceptionpublic Map<String,Object> getSnapshot(boolean withAutoscaling, boolean redact) throws Exception
Exceptionpublic ClusterStateProvider getClusterStateProvider()
getClusterStateProvider in interface SolrCloudManagerpublic NodeStateProvider getNodeStateProvider()
getNodeStateProvider in interface SolrCloudManagerpublic DistribStateManager getDistribStateManager()
getDistribStateManager in interface SolrCloudManagerpublic DistributedQueueFactory getDistributedQueueFactory()
getDistributedQueueFactory in interface SolrCloudManagerpublic ObjectCache getObjectCache()
getObjectCache in interface SolrCloudManagerpublic TimeSource getTimeSource()
getTimeSource in interface SolrCloudManagerpublic SolrResponse request(SolrRequest req) throws IOException
request in interface SolrCloudManagerIOExceptionpublic byte[] httpRequest(String url, SolrRequest.METHOD method, Map<String,String> headers, String payload, int timeout, boolean followRedirects) throws IOException
httpRequest in interface SolrCloudManagerIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.