Uses of Class
org.apache.solr.common.cloud.SolrZkClient
-
Packages that use SolrZkClient Package Description org.apache.solr.client.solrj.impl Concrete implementations of client API classes.org.apache.solr.common.cloud Common Solr Cloud and ZooKeeper related classes reused on both clients & server.org.apache.solr.common.util Common utility classes reused on both clients & server. -
-
Uses of SolrZkClient in org.apache.solr.client.solrj.impl
Methods in org.apache.solr.client.solrj.impl that return SolrZkClient Modifier and Type Method Description SolrZkClient
ZkDistribStateManager. getZkClient()
Constructors in org.apache.solr.client.solrj.impl with parameters of type SolrZkClient Constructor Description ZkDistribStateManager(SolrZkClient zkClient)
-
Uses of SolrZkClient in org.apache.solr.common.cloud
Methods in org.apache.solr.common.cloud that return SolrZkClient Modifier and Type Method Description SolrZkClient
ZkStateReader. getZkClient()
Methods in org.apache.solr.common.cloud with parameters of type SolrZkClient Modifier and Type Method Description static void
ZkMaintenanceUtils. clean(SolrZkClient zkClient, String path)
static void
ZkMaintenanceUtils. clean(SolrZkClient zkClient, String path, Predicate<String> filter)
Delete a path and all of its sub nodesstatic void
ZkMaintenanceUtils. downConfig(SolrZkClient zkClient, String confName, Path confPath)
static void
ZkMaintenanceUtils. downloadFromZK(SolrZkClient zkClient, String zkPath, Path file)
void
ZkCmdExecutor. ensureExists(String path, byte[] data, SolrZkClient zkClient)
void
ZkCmdExecutor. ensureExists(String path, byte[] data, org.apache.zookeeper.CreateMode createMode, SolrZkClient zkClient)
void
ZkCmdExecutor. ensureExists(String path, byte[] data, org.apache.zookeeper.CreateMode createMode, SolrZkClient zkClient, int skipPathParts)
void
ZkCmdExecutor. ensureExists(String path, SolrZkClient zkClient)
static String
ZkMaintenanceUtils. listZnode(SolrZkClient zkClient, String path, Boolean recurse)
Lists a ZNode child and (optionally) the znodes of all the children.static void
ZkMaintenanceUtils. moveZnode(SolrZkClient zkClient, String src, String dst)
static void
ZkMaintenanceUtils. traverseZkTree(SolrZkClient zkClient, String path, ZkMaintenanceUtils.VISIT_ORDER visitOrder, ZkMaintenanceUtils.ZkVisitor visitor)
Recursively visit a zk tree rooted at path and apply the given visitor to each path.static void
ZkMaintenanceUtils. upConfig(SolrZkClient zkClient, Path confPath, String confName)
static void
ZkMaintenanceUtils. uploadToZK(SolrZkClient zkClient, Path fromPath, String zkPath, Pattern filenameExclusions)
static void
ZkMaintenanceUtils. zkTransfer(SolrZkClient zkClient, String src, Boolean srcIsZk, String dst, Boolean dstIsZk, Boolean recurse)
Copy between local file system and Zookeeper, or from one Zookeeper node to another, optionally copying recursively.Constructors in org.apache.solr.common.cloud with parameters of type SolrZkClient Constructor Description ClusterProperties(SolrZkClient client)
Creates a ClusterProperties object using a provided SolrZkClientCollectionProperties(SolrZkClient client)
Creates a CollectionProperties object using a provided SolrZkClientConnectionManager(String name, SolrZkClient client, String zkServerAddress, ZkClientConnectionStrategy strat, OnReconnect onConnect, BeforeReconnect beforeReconnect, ConnectionManager.IsClosed isClosed)
ZkConfigManager(SolrZkClient zkClient)
Creates a new ZkConfigManagerZkStateReader(SolrZkClient zkClient)
ZkStateReader(SolrZkClient zkClient, Runnable securityNodeListener)
-
Uses of SolrZkClient in org.apache.solr.common.util
Methods in org.apache.solr.common.util with parameters of type SolrZkClient Modifier and Type Method Description static Map<String,Object>
Utils. getJson(SolrZkClient zkClient, String path, boolean retryOnConnLoss)
Assumes data in ZooKeeper is a JSON string, deserializes it and returns as a Map
-