# Uses of Interface
org.apache.solr.common.cloud.DocCollection.PrsSupplier

Packages that use DocCollection.PrsSupplier
Package
Description
org.apache.solr.common.cloud
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.

## Uses of DocCollection.PrsSupplier in org.apache.solr.common.cloud

Methods in org.apache.solr.common.cloud with parameters of type DocCollection.PrsSupplier
Modifier and Type
Method
Description
`static DocCollection`
ClusterState.`collectionFromObjects(String name, Map<String,Object> objs, int version, Instant creationTime, DocCollection.PrsSupplier prsSupplier)`
`static DocCollection`
DocCollection.`create(String name, Map<String,Slice> slices, Map<String,Object> props, DocRouter router, int zkVersion, Instant creationTime, DocCollection.PrsSupplier prsSupplier)`
Builds a DocCollection with an optional PrsSupplier
`static ClusterState`
ClusterState.`createFromCollectionMap(int version, Map<String,Object> stateMap, Set<String> liveNodes, Instant creationTime, DocCollection.PrsSupplier prsSupplier)`
Deprecated.
`static ClusterState`
ClusterState.`createFromJson(int version, byte[] bytes, Set<String> liveNodes, Instant creationTime, DocCollection.PrsSupplier prsSupplier)`
Deprecated.