Package com.yahoo.config.provision
Class Exclusivity
java.lang.Object
com.yahoo.config.provision.Exclusivity
A class which can be asked if allocations should be exclusive.
- Author:
- bratseth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallocation(ClusterSpec clusterSpec) Returns whether nodes are allocated exclusively in this instance given this cluster spec.booleanclusterType(ClusterSpec cluster) Returns whether nodes must be allocated to hosts that are exclusive to the cluster type.
-
Constructor Details
-
Method Details
-
clusterType
Returns whether nodes must be allocated to hosts that are exclusive to the cluster type. -
allocation
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.
-