Uses of Class
com.yahoo.config.provision.ClusterSpec
Packages that use ClusterSpec
-
Uses of ClusterSpec in com.yahoo.config.provision
Methods in com.yahoo.config.provision that return ClusterSpecModifier and TypeMethodDescriptionClusterSpec.Builder.build()ClusterMembership.cluster()Returns the cluster this node is a member ofCapacityPolicies.decideExclusivity(Capacity capacity, ClusterSpec requestedCluster) Returns whether the nodes requested can share physical host with other applicationsClusterSpec.with(Optional<ClusterSpec.Group> newGroup) ClusterSpec.withExclusivity(boolean exclusive) Methods in com.yahoo.config.provision with parameters of type ClusterSpecModifier and TypeMethodDescriptionbooleanExclusivity.allocation(ClusterSpec clusterSpec) Returns whether nodes are allocated exclusively in this instance given this cluster spec.booleanExclusivity.clusterType(ClusterSpec cluster) Returns whether nodes must be allocated to hosts that are exclusive to the cluster type.CapacityPolicies.decideExclusivity(Capacity capacity, ClusterSpec requestedCluster) Returns whether the nodes requested can share physical host with other applicationsstatic ClusterMembershipClusterMembership.from(ClusterSpec cluster, int index) Provisioner.prepare(ApplicationId applicationId, ClusterSpec cluster, Capacity capacity, ProvisionLogger logger) Prepares allocation of a set of hosts with a given type, common id and the amount.static ClusterMembershipClusterMembership.retiredFrom(ClusterSpec cluster, int index) booleanClusterSpec.satisfies(ClusterSpec other) Returns whether this satisfies other for allocation purposes.CapacityPolicies.specifyFully(ClusterResources resources, ClusterSpec clusterSpec) CapacityPolicies.specifyFully(NodeResources resources, ClusterSpec clusterSpec) ClusterMembership.with(ClusterSpec newCluster)