SOLR-9784: added deprecation javadocs

This commit is contained in:
Noble Paul 2016-11-29 08:05:47 +05:30
parent 00dfbafd9a
commit d89da61a6d
1 changed files with 4 additions and 0 deletions

View File

@ -645,6 +645,8 @@ public class CloudSolrClient extends SolrClient {
* are allowing client access to zookeeper, you should protect the
* /configs node against unauthorised write access.
*
* @deprecated Please use {@link ZkClientClusterStateProvider#uploadConfig(Path, String)} instead
*
* @param configPath {@link java.nio.file.Path} to the config files
* @param configName the name of the config
* @throws IOException if an IO error occurs
@ -665,6 +667,8 @@ public class CloudSolrClient extends SolrClient {
/**
* Download a named config from Zookeeper to a location on the filesystem
*
* @deprecated Please use {@link ZkClientClusterStateProvider#downloadConfig(String, Path)} instead
* @param configName the name of the config
* @param downloadPath the path to write config files to
* @throws IOException if an I/O exception occurs