Package | Description |
---|---|
org.apache.solr.client.solrj.cloud.autoscaling |
Common classes for autoscaling parsing filtering nodes and sorting
|
org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingCloudManager
Base class for overriding some behavior of
SolrCloudManager . |
Modifier and Type | Field and Description |
---|---|
protected SolrCloudManager |
DelegatingCloudManager.delegate |
Modifier and Type | Method and Description |
---|---|
Policy.Session |
Policy.createSession(SolrCloudManager cloudManager) |
static MapWriter |
PolicyHelper.getDiagnostics(Policy policy,
SolrCloudManager cloudManager) |
static List<ReplicaPosition> |
PolicyHelper.getReplicaLocations(String collName,
AutoScalingConfig autoScalingConfig,
SolrCloudManager cloudManager,
Map<String,String> optionalPolicyMapping,
List<String> shardNames,
int nrtReplicas,
int tlogReplicas,
int pullReplicas,
List<String> nodesList) |
static PolicyHelper.SessionWrapper |
PolicyHelper.getSession(SolrCloudManager cloudManager)
How to get a shared Policy Session
1) call
PolicyHelper.getSession(SolrCloudManager)
2) compute all suggestions
3) call PolicyHelper.SessionWrapper.returnSession(Policy.Session)
4) perform all suggestions
5) call PolicyHelper.SessionWrapper.release() |
static List<Suggester.SuggestionInfo> |
PolicyHelper.getSuggestions(AutoScalingConfig autoScalingConf,
SolrCloudManager cloudManager) |
static List<Suggester.SuggestionInfo> |
PolicyHelper.getSuggestions(AutoScalingConfig autoScalingConf,
SolrCloudManager cloudManager,
int max) |
static void |
PolicyHelper.logState(SolrCloudManager cloudManager,
Suggester suggester)
Use this to dump the state of a system and to generate a testcase
|
Constructor and Description |
---|
DelegatingCloudManager(SolrCloudManager delegate) |
Modifier and Type | Class and Description |
---|---|
class |
SolrClientCloudManager
Class that implements
SolrCloudManager using a SolrClient |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.