Package com.yahoo.cloud.config
Class ClusterInfoConfig
java.lang.Object
com.yahoo.config.Node
com.yahoo.config.InnerNode
com.yahoo.config.ConfigInstance
com.yahoo.cloud.config.ClusterInfoConfig
public final class ClusterInfoConfig
extends com.yahoo.config.ConfigInstance
This class represents the root node of cluster-info
Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
Information about the cluster the subscriber is a part of
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic interfacestatic final classThis class represents cluster-info.services[] -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.yahoo.config.ConfigInstance
getDefName, getDefNamespace, serialize, serializeMethods inherited from class com.yahoo.config.InnerNode
equals, getAllDescendantLeafNodes, getChildren, getChildrenWithVectorsFlattened, hashCode, postInitialize, toStringMethods inherited from class com.yahoo.config.Node
clone
-
Field Details
-
CONFIG_DEF_MD5
- See Also:
-
CONFIG_DEF_NAME
- See Also:
-
CONFIG_DEF_NAMESPACE
- See Also:
-
CONFIG_DEF_SCHEMA
-
-
Constructor Details
-
ClusterInfoConfig
-
-
Method Details
-
getDefMd5
-
getDefName
-
getDefNamespace
-
clusterId
- Returns:
- cluster-info.clusterId
-
nodeCount
public int nodeCount()- Returns:
- cluster-info.nodeCount
-
nodeIndices
- Returns:
- cluster-info.nodeIndices[]
-
nodeIndices
public int nodeIndices(int i) - Parameters:
i- the index of the value to return- Returns:
- cluster-info.nodeIndices[]
-
services
- Returns:
- cluster-info.services[]
-
services
- Parameters:
i- the index of the value to return- Returns:
- cluster-info.services[]
-