Class MockSolrZkClient

java.lang.Object
org.apache.solr.common.cloud.SolrZkClient
org.apache.solr.cloud.MockSolrZkClient
All Implemented Interfaces:
Closeable, AutoCloseable

public class MockSolrZkClient extends org.apache.solr.common.cloud.SolrZkClient
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.solr.common.cloud.SolrZkClient

    org.apache.solr.common.cloud.SolrZkClient.Builder, org.apache.solr.common.cloud.SolrZkClient.CuratorOpBuilder, org.apache.solr.common.cloud.SolrZkClient.IsClosed, org.apache.solr.common.cloud.SolrZkClient.NodeData, org.apache.solr.common.cloud.SolrZkClient.SupplierWithException<T>
  • Field Summary

    Fields inherited from class org.apache.solr.common.cloud.SolrZkClient

    ZK_ACL_PROVIDER_CLASS_NAME_VM_PARAM_NAME, ZK_CRED_PROVIDER_CLASS_NAME_VM_PARAM_NAME, ZK_CREDENTIALS_INJECTOR_CLASS_NAME_VM_PARAM_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    exists(String path)
     
    byte[]
    getData(String path, org.apache.zookeeper.Watcher watcher, org.apache.zookeeper.data.Stat stat)
     

    Methods inherited from class org.apache.solr.common.cloud.SolrZkClient

    atomicUpdate, atomicUpdate, checkInterrupted, clean, clean, close, containsChroot, create, create, createACLProvider, createZkCredentialsInjector, createZkCredentialsToAddAutomatically, delete, downConfig, downloadFromZK, ensureExists, ensureExists, ensureExists, ensureExists, exists, getAbsolutePath, getACL, getChildren, getChildren, getChroot, getConfig, getCuratorFramework, getMetrics, getNode, getZkACLProvider, getZkClientTimeout, getZkServerAddress, getZkSessionId, getZkSessionTimeout, isClosed, isConnected, listZnode, makePath, makePath, makePath, makePath, makePath, makePath, makePath, makePath, makePath, makePath, makePath, moveZnode, multi, multi, printLayout, printLayoutToStream, runWithCorrectThrows, setACL, setData, setData, setData, upConfig, updateACLs, uploadToZK, wrapWatcher, zkTransfer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MockSolrZkClient

      public MockSolrZkClient()
  • Method Details

    • exists

      public Boolean exists(String path) throws org.apache.zookeeper.KeeperException, InterruptedException
      Overrides:
      exists in class org.apache.solr.common.cloud.SolrZkClient
      Throws:
      org.apache.zookeeper.KeeperException
      InterruptedException
    • getData

      public byte[] getData(String path, org.apache.zookeeper.Watcher watcher, org.apache.zookeeper.data.Stat stat) throws org.apache.zookeeper.KeeperException, InterruptedException
      Overrides:
      getData in class org.apache.solr.common.cloud.SolrZkClient
      Throws:
      org.apache.zookeeper.KeeperException
      InterruptedException