Package com.yahoo.vespa.model.content
Class StorageNode
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer,com.yahoo.vespa.config.content.core.StorCommunicationmanagerConfig.Producer,com.yahoo.vespa.config.content.core.StorServerConfig.Producer,com.yahoo.vespa.config.content.core.StorStatusConfig.Producer,com.yahoo.vespa.config.content.StorFilestorConfig.Producer,ConfigProducer,NetworkPortRequestor,Service,Serializable
public class StorageNode
extends ContentNode
implements com.yahoo.vespa.config.content.core.StorServerConfig.Producer, com.yahoo.vespa.config.content.StorFilestorConfig.Producer
Class to provide config related to a specific storage node.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.yahoo.vespa.model.AbstractService
portsMetaFields inherited from class com.yahoo.config.model.producer.AnyConfigProducer
log -
Method Summary
Modifier and TypeMethodDescriptiondoublevoidgetConfig(com.yahoo.vespa.config.content.core.StorServerConfig.Builder builder) voidgetConfig(com.yahoo.vespa.config.content.StorFilestorConfig.Builder builder) Must be overridden by services that should be started by config-sentinel.booleanWhether this node is configured as retired, which means all content should migrate off the nodeMethods inherited from class com.yahoo.vespa.model.content.ContentNode
allocatePorts, getConfig, getConfig, getDistributionKey, getHealthPort, getPortCountMethods inherited from class com.yahoo.vespa.model.AbstractService
addEnvironmentVariable, addEnvironmentVariable, appendJvmOptions, defaultPreload, distributeCpuSocketAffinity, getAffinity, getDefaultMetricDimensions, getEnvStringForTesting, getEnvVars, getHost, getHostName, getHostResource, getId, getIndex, getJvmOptions, getNumPortsAllocated, getPortsMeta, getPreLoad, getPreShutdownCommand, getRelativePort, getServiceInfo, getServiceName, getServicePropertyString, getServicePropertyString, getServiceType, getWantedPort, initService, isInitialized, prependJvmOptions, remove, requiresWantedPort, setAffinity, setBasePort, setCoreOnOOM, setHostResource, setJvmOptions, setMMapNoCoreLimit, setNoVespaMalloc, setPreLoad, setProp, setProp, setVespaMalloc, setVespaMallocDebug, setVespaMallocDebugStackTrace, toStringMethods inherited from class com.yahoo.config.model.producer.TreeConfigProducer
addChild, addDescendantService, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getDescendantServices, removeChild, validateMethods inherited from class com.yahoo.config.model.producer.AnyConfigProducer
addConfigId, addUserConfig, cascadeConfig, currentConfigId, findInheritedClassLoader, getConfigId, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, setParent, setUserConfigs, stateIsHostedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.yahoo.vespa.model.ConfigProducer
addUserConfig, cascadeConfig, dump, getChildren, getConfigId, getDescendantServices, getUserConfigs, hostSystem, validateMethods inherited from interface com.yahoo.vespa.model.NetworkPortRequestor
getConfigIdMethods inherited from interface com.yahoo.vespa.model.Service
getLogctlSpecs
-
Method Details
-
getStartupCommand
Description copied from class:AbstractServiceMust be overridden by services that should be started by config-sentinel. The returned value will be used in config-sentinel configuration. Returns empty by default.- Specified by:
getStartupCommandin interfaceService- Overrides:
getStartupCommandin classAbstractService- Returns:
- empty by default.
-
getCapacity
public double getCapacity() -
isRetired
public boolean isRetired()Whether this node is configured as retired, which means all content should migrate off the node -
getConfig
public void getConfig(com.yahoo.vespa.config.content.core.StorServerConfig.Builder builder) - Specified by:
getConfigin interfacecom.yahoo.vespa.config.content.core.StorServerConfig.Producer- Overrides:
getConfigin classContentNode
-
getConfig
public void getConfig(com.yahoo.vespa.config.content.StorFilestorConfig.Builder builder) - Specified by:
getConfigin interfacecom.yahoo.vespa.config.content.StorFilestorConfig.Producer
-