murblanc commented on a change in pull request #1678: URL: https://github.com/apache/lucene-solr/pull/1678#discussion_r456407049
########## File path: solr/core/src/java/org/apache/solr/cloud/api/collections/assign/policy8x/AssignerCloudManager.java ########## @@ -0,0 +1,81 @@ +package org.apache.solr.cloud.api.collections.assign.policy8x; + +import java.io.IOException; +import java.util.Map; + +import org.apache.solr.client.solrj.SolrRequest; +import org.apache.solr.client.solrj.SolrResponse; +import org.apache.solr.client.solrj.cloud.DistribStateManager; +import org.apache.solr.client.solrj.cloud.DistributedQueueFactory; +import org.apache.solr.client.solrj.cloud.NodeStateProvider; +import org.apache.solr.client.solrj.cloud.SolrCloudManager; +import org.apache.solr.client.solrj.impl.ClusterStateProvider; +import org.apache.solr.cloud.api.collections.assign.AssignerClusterState; +import org.apache.solr.common.util.ObjectCache; +import org.apache.solr.common.util.TimeSource; + +/** + * + */ +public class AssignerCloudManager implements SolrCloudManager { + private final ObjectCache objectCache = new ObjectCache(); + private final TimeSource timeSource; + private final AssignerClusterState assignerClusterState; + private final AssignerClusterStateProvider clusterStateProvider; + private final AssignerNodeStateProvider nodeStateProvider; + private final AssignerDistribStateManager distribStateManager; + + public AssignerCloudManager(AssignerClusterState assignerClusterState, Review comment: I finally got that following our Slack exchange... I'm not sure that's a proof this will really work in a non trivial case, because we're missing the logic that goes around properties/variables and their types. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org