Package org.apache.solr.common.cloud
-
Interface Summary Interface Description BeforeReconnect CloudCollectionsListener Callback registered withZkStateReader.registerCloudCollectionsListener(CloudCollectionsListener)
and called whenever the cloud's set of collections changes.ClusterPropertiesListener Listener that can be used withZkStateReader.registerClusterPropertiesListener(ClusterPropertiesListener)
and called whenever the cluster properties changes.CollectionPropsWatcher Callback registered withZkStateReader.registerCollectionPropsWatcher(String, CollectionPropsWatcher)
and called whenever the collection properties change.CollectionStateWatcher Callback registered withZkStateReader.registerCollectionStateWatcher(String, CollectionStateWatcher)
and called whenever there is a change in the collection state or in the list of liveNodes.ConnectionManager.IsClosed DocCollectionWatcher Callback registered withZkStateReader.registerDocCollectionWatcher(String, DocCollectionWatcher)
and called whenever the DocCollection changes.LiveNodesListener Listener that can be used withZkStateReader.registerLiveNodesListener(LiveNodesListener)
and called whenever the live nodes set changes.LiveNodesPredicate Interface to determine if live nodes matches a required stateOnReconnect Implementations are expected to implement a correct hashCode and equals method needed to uniquely identify the listener as listeners are managed in a Set.ZkACLProvider ZkClientConnectionStrategy.ConnectedListener ZkClientConnectionStrategy.DisconnectedListener ZkClientConnectionStrategy.ZkUpdate ZkCredentialsInjector A class that retrieves Zookeeper credentials from some source to be injected intoDigestZkCredentialsProvider
andDigestZkACLProvider
.ZkCredentialsProvider ZkMaintenanceUtils.ZkVisitor ZkOperation<T> A callback object which can be used for implementing retry-able operations. -
Class Summary Class Description ClusterProperties Interact with solr cluster propertiesCollectionProperties Interact with solr collection propertiesConnectionManager DefaultConnectionStrategy TODO: improve backoff retry implDefaultZkACLProvider DefaultZkCredentialsInjector DefaultZkCredentialsProvider DigestZkACLProvider A class that expects aZkCredentialsInjector
to create Zookeeper ACLs using digest schemeDigestZkCredentialsProvider A class that expects aZkCredentialsInjector
to create Zookeeper credentials using Digest schemeNodesSysPropsCacher Fetch lazily and cache a node's system propertiesPerReplicaStatesOps 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 themSaslZkACLProvider ZkACLProvider that gives all permissions for the user specified in System property "solr.authorization.superuser" (default: "solr") when using sasl, and gives read permissions for anyone else.SecurityAwareZkACLProvider ZkACLProvider
capable of returning a different set ofACL
s for security-related znodes (default: subtree under /security and security.json) vs non-security-related znodes.SolrZkClient All Solr ZooKeeper interactions should go through this class rather than ZooKeeper.SolrZkClient.Builder SolrZkClient.NodeData SolrZkClient.ZkMetrics VMParamsAllAndReadonlyDigestZkACLProvider Deprecated. VMParamsSingleSetCredentialsDigestZkCredentialsProvider Deprecated. VMParamsZkCredentialsInjector Reads credentials from System Properties and injects them intoDigestZkCredentialsProvider
&DigestZkACLProvider
Usage:ZkClientConnectionStrategy ZkCmdExecutor ZkCredentialsInjector.ZkCredential ZkCredentialsProvider.ZkCredentials ZkDynamicConfig Class holding the dynamic config of a Zookeeper ensemble as fetched from znode/zookeeper/config
.ZkDynamicConfig.Server Object representing one line in Zk dynamic configZkMaintenanceUtils Class to hold ZK upload/download/move common code.ZkStateReader ZkStateReader.ConfigData -
Enum Summary Enum Description ZkCredentialsInjector.ZkCredential.Perms ZkMaintenanceUtils.VISIT_ORDER -
Exception Summary Exception Description PerReplicaStatesOps.PrsZkNodeNotFoundException ZooKeeperException