Package org.apache.solr.common.cloud
package org.apache.solr.common.cloud
-
ClassDescriptionCallback registered with
ZkStateReader.registerCloudCollectionsListener(CloudCollectionsListener)and called whenever the cloud's set of collections changes.Interact with solr cluster propertiesListener that can be used withZkStateReader.registerClusterPropertiesListener(ClusterPropertiesListener)and called whenever the cluster properties changes.Interact with solr collection propertiesFetches and manages collection properties from a ZooKeeper ensembleCallback registered withZkStateReader.registerCollectionPropsWatcher(String, CollectionPropsWatcher)and called whenever the collection properties change.Callback registered withZkStateReader.registerCollectionStateWatcher(String, CollectionStateWatcher)and called whenever there is a change in the collection state or in the list of liveNodes.A class that expects aZkCredentialsInjectorto create Zookeeper ACLs using digest schemeA class that expects aZkCredentialsInjectorto create Zookeeper credentials using Digest schemeCallback registered withZkStateReader.registerDocCollectionWatcher(String, DocCollectionWatcher)and called whenever the DocCollection changes.Listener that can be used withZkStateReader.registerLiveNodesListener(LiveNodesListener)and called whenever the live nodes set changes.Interface to determine if live nodes matches a required stateFetch lazily and cache a node's system propertiesImplementations are expected to implement a correct hashCode and equals method needed to uniquely identify the listener as listeners are managed in a Set.This is a helper class that encapsulates various operations performed on the per-replica states Do not directly manipulate the per replica states as it can become difficult to debug themZkACLProvider that gives all permissions for the user specified in System property "solr.auth.superuser" (default: "solr") when using sasl, and gives read permissions for anyone else.ZkACLProvidercapable of returning a different set ofACLs for security-related znodes (default: subtree under /security and security.json) vs non-security-related znodes.All Solr ZooKeeper interactions should go through this class rather than ZooKeeper.A function that takes a transaction builder and returns a curator operation.Deprecated.Deprecated.Reads credentials from System Properties and injects them intoDigestZkCredentialsProvider&DigestZkACLProviderUsage:A class that retrieves Zookeeper credentials from some source to be injected intoDigestZkCredentialsProviderandDigestZkACLProvider.Class holding the dynamic config of a Zookeeper ensemble as fetched from znode/zookeeper/config.Object representing one line in Zk dynamic configClass to hold ZK upload/download/move common code.ZkOperation<T>A callback object which can be used for implementing retry-able operations.