Class ScriptClusterSelectorImpl

java.lang.Object
com.netflix.genie.web.selectors.impl.ScriptClusterSelectorImpl
All Implemented Interfaces:
ClusterSelector, ResourceSelector<com.netflix.genie.common.internal.dtos.Cluster,ClusterSelectionContext>

public class ScriptClusterSelectorImpl extends Object implements ClusterSelector
An implementation of the ClusterSelector interface which uses user-provided script to make decisions based on the list of clusters and the job request supplied.
Since:
3.1.0
  • Constructor Details

    • ScriptClusterSelectorImpl

      public ScriptClusterSelectorImpl(ClusterSelectorManagedScript clusterSelectorManagedScript, io.micrometer.core.instrument.MeterRegistry registry)
      Constructor.
      Parameters:
      clusterSelectorManagedScript - the cluster selector script
      registry - the metrics registry
  • Method Details