Package org.apache.solr.common.cloud
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
-
Interface Summary Interface Description BeforeReconnect CloudCollectionsListener Callback registered withZkStateReader.registerCloudCollectionsListener(CloudCollectionsListener)
and called whenever the cloud's set of collections changes.CollectionPropsWatcher Callback registered withZkStateReader.registerCollectionPropsWatcher(String, CollectionPropsWatcher)
and called whenever the collection properties change.CollectionStatePredicate Interface to determine if a collection state matches a required stateCollectionStateWatcher Callback registered withZkStateReader.registerCollectionStateWatcher(String, CollectionStateWatcher)
and called whenever the collection state changes.DistributedQueue 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 stateLiveNodesWatcher OnReconnect 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 ZkCredentialsProvider ZkMaintenanceUtils.ZkVisitor ZkOperation A callback object which can be used for implementing retry-able operations. -
Class Summary Class Description Aliases Holds collection aliases -- virtual collections that point to one or more other collections.ClusterProperties Interact with solr cluster properties Note that all methods on this class make calls to ZK on every invocation.ClusterState Immutable state of the cloud.ClusterState.CollectionRef ClusterStateUtil CollectionProperties Interact with solr collection properties Note that all methods on this class make calls to ZK on every invocation.CompositeIdRouter ConnectionManager ConnectionManager.IsClosed DefaultConnectionStrategy TODO: improve backoff retry implDefaultZkACLProvider DefaultZkCredentialsProvider DocCollection Models a Collection in zookeeper (but that Java name is obviously taken, hence "DocCollection")DocRouter Class to partition int range into n ranges.DocRouter.Range HashBasedRouter ImplicitDocRouter This document router is for custom shardingPlainIdRouter Replica ReplicaPosition RoutingRule Used for routing docs with particular keys into another collectionSaslZkACLProvider 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) vs non-security-related znodes.Slice A Slice contains immutable information about a logical shard (all replicas that share the same shard id).SolrZkClient All Solr ZooKeeper interactions should go through this class rather than ZooKeeper.SolrZooKeeper VMParamsAllAndReadonlyDigestZkACLProvider VMParamsSingleSetCredentialsDigestZkCredentialsProvider ZkClientConnectionStrategy ZkCmdExecutor ZkConfigManager Class that manages named configs in ZookeeperZkCoreNodeProps ZkCredentialsProvider.ZkCredentials ZkMaintenanceUtils Class to hold ZK upload/download/move common code.ZkNodeProps ZkNodeProps contains generic immutable properties.ZkStateReader ZkStateReader.ConfigData -
Enum Summary Enum Description Replica.State The replica's state.Replica.Type Slice.State The slice's state.ZkMaintenanceUtils.VISIT_ORDER -
Exception Summary Exception Description ZooKeeperException