Class Exclusivity

java.lang.Object
com.yahoo.config.provision.Exclusivity

public class Exclusivity extends Object
A class which can be asked if allocations should be exclusive.
Author:
bratseth
  • Constructor Details

  • Method Details

    • clusterType

      public boolean clusterType(ClusterSpec cluster)
      Returns whether nodes must be allocated to hosts that are exclusive to the cluster type.
    • allocation

      public boolean allocation(ClusterSpec clusterSpec)
      Returns whether nodes are allocated exclusively in this instance given this cluster spec. Exclusive allocation requires that the wanted node resources matches the advertised resources of the node perfectly.