# Package org.apache.solr.common.cloud

Common Solr Cloud and ZooKeeper related classes reused on both clients & server.

Interface Summary
CollectionStatePredicate: Interface to determine if a set of liveNodes and a collection's state matches some expectations.
DocCollection.CollectionStateProps: JSON properties related to a collection's state.
DocCollection.PrsSupplier
NodesSysProps: Fetch a node's system properties.
Replica.ReplicaStateProps: JSON properties related to a replica's state.
Slice.SliceStateProps: JSON properties related to a slice's state.
SolrClassLoader: A generic interface to load plugin classes

Class Summary
Aliases: Holds collection aliases -- virtual collections that point to one or more other collections.
ClusterState: Immutable state of the cloud.
ClusterState.CollectionRef
CompositeIdRouter: CompositeIdRouter partitions ids based on a `CompositeIdRouter.SEPARATOR`, hashes each partition and merges the hashes together to map the id to a slice.
CompositeIdRouter.KeyParser: Helper class to calculate parts, masks etc.
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 sharding
PerReplicaStates: This represents the individual replica states in a collection This is an immutable object.
PerReplicaStates.Operation
PerReplicaStates.State: The state of a replica as stored as a node under /collections/collection-name/state.json/replica-state
PlainIdRouter
Replica
ReplicaPosition
RoutingRule: Used for routing docs with particular keys into another collection
Slice: A Slice contains immutable information about a logical shard (all replicas that share the same shard id).
ZkCoreNodeProps
ZkNodeProps: ZkNodeProps contains generic immutable properties.

Enum Summary
PerReplicaStates.Operation.Type
Replica.State: The replica's state.
Replica.Type
Slice.State: The slice's state.