# Uses of Package
org.apache.solr.common.cloud

Packages that use org.apache.solr.common.cloud
org.apache.solr.client.solrj.cloud: Common classes for SolrCloud.
org.apache.solr.client.solrj.impl: Concrete implementations of client API classes.
org.apache.solr.client.solrj.io.stream: Stream implementations for the Streaming Aggregation API
org.apache.solr.client.solrj.request: Convenience classes for dealing with various types of Solr requests.
org.apache.solr.client.solrj.routing: Classes to handle query routing preferences
org.apache.solr.client.solrj.util: Utilities for Solr client applications.
org.apache.solr.cluster.api: API interfaces for core SolrCloud classes
org.apache.solr.common: Common classes reused on both clients & server for dealing with `documents to be indexed` and `result documents`.
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.

Classes in org.apache.solr.common.cloud used by org.apache.solr.client.solrj.cloud
ClusterState: Immutable state of the cloud.
ClusterState.CollectionRef
DocCollection: Models a Collection in zookeeper (but that Java name is obviously taken, hence "DocCollection")
PerReplicaStates: This represents the individual replica states in a collection This is an immutable object.
Replica

Classes in org.apache.solr.common.cloud used by org.apache.solr.client.solrj.impl
ClusterState: Immutable state of the cloud.
ClusterState.CollectionRef
CollectionStatePredicate: Interface to determine if a set of liveNodes and a collection's state matches some expecatations.
CollectionStateWatcher: Callback registered with `ZkStateReader.registerCollectionStateWatcher(String, CollectionStateWatcher)` and called whenever there is a change in the collection state or in the list of liveNodes.
DocCollection: Models a Collection in zookeeper (but that Java name is obviously taken, hence "DocCollection")
DocCollectionWatcher: Callback registered with `ZkStateReader.registerDocCollectionWatcher(String, DocCollectionWatcher)` and called whenever the DocCollection changes.
DocRouter: Class to partition int range into n ranges.
PerReplicaStates: This represents the individual replica states in a collection This is an immutable object.
Replica
SolrZkClient: All Solr ZooKeeper interactions should go through this class rather than ZooKeeper.
ZkStateReader

Classes in org.apache.solr.common.cloud used by org.apache.solr.client.solrj.io.stream
Slice: A Slice contains immutable information about a logical shard (all replicas that share the same shard id).
ZkStateReader

Classes in org.apache.solr.common.cloud used by org.apache.solr.client.solrj.request
DocCollection: Models a Collection in zookeeper (but that Java name is obviously taken, hence "DocCollection")
DocRouter: Class to partition int range into n ranges.
Replica.State: The replica's state.
Replica.Type

Classes in org.apache.solr.common.cloud used by org.apache.solr.client.solrj.routing
NodesSysPropsCacher: Caching other nodes system properties.

Classes in org.apache.solr.common.cloud used by org.apache.solr.client.solrj.util
Slice: A Slice contains immutable information about a logical shard (all replicas that share the same shard id).

Classes in org.apache.solr.common.cloud used by org.apache.solr.cluster.api
Replica.Type

Classes in org.apache.solr.common.cloud used by org.apache.solr.common
ZkStateReader

Classes in org.apache.solr.common.cloud used by org.apache.solr.common.cloud
Aliases: Holds collection aliases -- virtual collections that point to one or more other collections.
BeforeReconnect
CloudCollectionsListener: Callback registered with `ZkStateReader.registerCloudCollectionsListener(CloudCollectionsListener)` and called whenever the cloud's set of collections changes.
ClusterPropertiesListener: Listener that can be used with `ZkStateReader.registerClusterPropertiesListener(ClusterPropertiesListener)` and called whenever the cluster properties changes.
ClusterState: Immutable state of the cloud.
ClusterState.CollectionRef
CollectionPropsWatcher: Callback registered with `ZkStateReader.registerCollectionPropsWatcher(String, CollectionPropsWatcher)` and called whenever the collection properties change.
CollectionStatePredicate: Interface to determine if a set of liveNodes and a collection's state matches some expecatations.
CollectionStateWatcher: Callback registered with `ZkStateReader.registerCollectionStateWatcher(String, CollectionStateWatcher)` and called whenever there is a change in the collection state or in the list of liveNodes.
ConnectionManager
ConnectionManager.IsClosed
DefaultZkCredentialsProvider
DocCollection: Models a Collection in zookeeper (but that Java name is obviously taken, hence "DocCollection")
DocCollectionWatcher: Callback registered with `ZkStateReader.registerDocCollectionWatcher(String, DocCollectionWatcher)` and called whenever the DocCollection changes.
DocRouter: Class to partition int range into n ranges.
DocRouter.Range
HashBasedRouter
LiveNodesListener: Listener that can be used with `ZkStateReader.registerLiveNodesListener(LiveNodesListener)` and called whenever the live nodes set changes.
LiveNodesPredicate: Interface to determine if live nodes matches a required state
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.
PerReplicaStates: This represents the individual replica states in a collection This is an immutable object.
PerReplicaStates.Operation
PerReplicaStates.Operation.Type
PerReplicaStates.State: The state of a replica as stored as a node under /collections/collection-name/state.json/replica-state
PerReplicaStatesOps: 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 them
Replica
Replica.State: The replica's state.
Replica.Type
ReplicaPosition
RoutingRule: Used for routing docs with particular keys into another collection
SecurityAwareZkACLProvider: `ZkACLProvider` capable of returning a different set of `ACL`s for security-related znodes (default: subtree under /security and security.json) vs non-security-related znodes.
Slice: A Slice contains immutable information about a logical shard (all replicas that share the same shard id).
Slice.State: The slice's state.
SolrZkClient: All Solr ZooKeeper interactions should go through this class rather than ZooKeeper.
SolrZooKeeper
ZkACLProvider
ZkClientConnectionStrategy
ZkClientConnectionStrategy.ConnectedListener
ZkClientConnectionStrategy.DisconnectedListener
ZkClientConnectionStrategy.ZkUpdate
ZkCoreNodeProps
ZkCredentialsProvider
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 config
ZkMaintenanceUtils.VISIT_ORDER
ZkMaintenanceUtils.ZkVisitor
ZkNodeProps: ZkNodeProps contains generic immutable properties.
ZkOperation: A callback object which can be used for implementing retry-able operations.
ZkStateReader
ZkStateReader.AliasesManager: A class to manage the aliases instance, including watching for changes.
ZkStateReader.ConfigData

Classes in org.apache.solr.common.cloud used by org.apache.solr.common.util
SolrZkClient: All Solr ZooKeeper interactions should go through this class rather than ZooKeeper.