public class CloudUtil extends Object
Constructor and Description |
---|
CloudUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
checkSharedFSFailoverReplaced(CoreContainer cc,
CoreDescriptor desc)
See if coreNodeName has been taken over by another baseUrl and unload core
+ throw exception if it has been.
|
static Map<String,byte[]> |
getTrustedKeys(SolrZkClient zk,
String dir)
Read the list of public keys from ZK
|
static String |
unifiedResourcePath(SolrResourceLoader loader)
Returns a displayable unified path to the given resource.
|
public static void checkSharedFSFailoverReplaced(CoreContainer cc, CoreDescriptor desc)
public static String unifiedResourcePath(SolrResourceLoader loader)
Note: Do not use this to generate a valid file path, but for debug printing etc
loader
- Resource loader instancepublic static Map<String,byte[]> getTrustedKeys(SolrZkClient zk, String dir)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.