public class PolicyHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PolicyHelper.SessionRef |
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<Long> |
REF_VERSION |
static int |
SESSION_EXPIRY |
static ThreadLocal<PolicyHelper.SessionRef> |
SESSION_REF |
Constructor and Description |
---|
PolicyHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
clearFlagAndDecref(PolicyHelper.SessionRef policySessionRef) |
static MapWriter |
getDiagnostics(Policy policy,
SolrClientCloudManager cloudManager) |
static List<ReplicaPosition> |
getReplicaLocations(String collName,
AutoScalingConfig autoScalingConfig,
SolrCloudManager cloudManager,
Map<String,String> optionalPolicyMapping,
List<String> shardNames,
int nrtReplicas,
int tlogReplicas,
int pullReplicas,
List<String> nodesList) |
static List<Suggester.SuggestionInfo> |
getSuggestions(AutoScalingConfig autoScalingConf,
SolrCloudManager cloudManager) |
public static final int SESSION_EXPIRY
public static ThreadLocal<Long> REF_VERSION
public static ThreadLocal<PolicyHelper.SessionRef> SESSION_REF
public static List<ReplicaPosition> getReplicaLocations(String collName, AutoScalingConfig autoScalingConfig, SolrCloudManager cloudManager, Map<String,String> optionalPolicyMapping, List<String> shardNames, int nrtReplicas, int tlogReplicas, int pullReplicas, List<String> nodesList)
public static MapWriter getDiagnostics(Policy policy, SolrClientCloudManager cloudManager)
public static List<Suggester.SuggestionInfo> getSuggestions(AutoScalingConfig autoScalingConf, SolrCloudManager cloudManager)
public static void clearFlagAndDecref(PolicyHelper.SessionRef policySessionRef)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.