Package com.yahoo.vespa.model.content
Class StorageGroup
java.lang.Object
com.yahoo.vespa.model.content.StorageGroup
A group of storage nodes/distributors.
- Author:
- unknown, probably thomasg, bratseth has done things here recently
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
countNodes
(boolean includeRetired) Returns the total number of nodes below this groupboolean
double
void
getConfig
(com.yahoo.vespa.config.content.StorDistributionConfig.Group.Builder builder) Collection<com.yahoo.vespa.config.content.StorDistributionConfig.Group.Builder>
getIndex()
Returns the index of this group, or null if it is the root groupgetName()
Returns the name of this group, or null if it is the root groupgetNodes()
Returns the nodes of this, or an empty list of it is not a leaf groupint
Returns the subgroups of this, or an empty list if it is a leaf groupint
hashCode()
boolean
isHosted()
static Map<HostResource,
com.yahoo.config.provision.ClusterMembership> provisionHosts
(NodesSpecification nodesSpecification, String clusterIdString, HostSystem hostSystem, com.yahoo.config.application.api.DeployLogger logger) Returns all the nodes below this groupboolean
-
Method Details
-
getName
Returns the name of this group, or null if it is the root group -
getSubgroups
Returns the subgroups of this, or an empty list if it is a leaf group -
getNodes
Returns the nodes of this, or an empty list of it is not a leaf group -
isHosted
public boolean isHosted() -
getIndex
Returns the index of this group, or null if it is the root group -
getPartitions
-
useCpuSocketAffinity
public boolean useCpuSocketAffinity() -
getMmapNoCoreLimit
-
getCoreOnOOM
-
getNoVespaMalloc
-
getVespaMalloc
-
getVespaMallocDebug
-
getVespaMallocDebugStackTrace
-
recursiveGetNodes
Returns all the nodes below this group -
getGroupStructureConfig
public Collection<com.yahoo.vespa.config.content.StorDistributionConfig.Group.Builder> getGroupStructureConfig() -
getConfig
public void getConfig(com.yahoo.vespa.config.content.StorDistributionConfig.Group.Builder builder) -
getNumberOfLeafGroups
public int getNumberOfLeafGroups() -
getCapacity
public double getCapacity() -
countNodes
public int countNodes(boolean includeRetired) Returns the total number of nodes below this group -
equals
-
hashCode
public int hashCode() -
provisionHosts
public static Map<HostResource,com.yahoo.config.provision.ClusterMembership> provisionHosts(NodesSpecification nodesSpecification, String clusterIdString, HostSystem hostSystem, com.yahoo.config.application.api.DeployLogger logger)
-