A C D E F G H I J K L M N O P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractResponseHandler() - Constructor for class com.yahoo.config.subscription.impl.MockConnection.AbstractResponseHandler
- acquire(ConfigSourceSet, TimingValues) - Method in class com.yahoo.config.subscription.impl.JRTManagedConnectionPools
- addBoolDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addBoolDef(String, Boolean) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addBuilder(String, ConfigInstance.Builder) - Method in class com.yahoo.config.subscription.ConfigSet
-
Inserts a new builder in this set.
- addCommonReturnValues(JsonGenerator) - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- addDoubleDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addDoubleDef(String, Double) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addDoubleDef(String, Double, Double, Double) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addEnumDef(String, ConfigDefinition.EnumDef) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addEnumDef(String, String, String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addEnumDef(String, List<String>, String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addErrorResponse(int, String) - Method in interface com.yahoo.vespa.config.protocol.JRTServerConfigRequest
-
Signal error when handling this request.
- addErrorResponse(int, String) - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- addFileDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addFileDef(String, String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addInnerArrayDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addIntDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addIntDef(String, Integer) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addIntDef(String, Integer, Integer, Integer) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addLeafMapDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addLongDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addLongDef(String, Long) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addLongDef(String, Long, Long, Long) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addOkResponse(Payload, long, boolean, PayloadChecksums) - Method in interface com.yahoo.vespa.config.protocol.JRTServerConfigRequest
-
Signal that the request was handled and provide return values typically needed by a client.
- addOkResponse(Payload, long, boolean, PayloadChecksums) - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- addPathDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addPathDef(String, String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addReferenceDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addReferenceDef(String, String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addSources(ConfigSourceSet) - Method in class com.yahoo.vespa.config.JRTConnectionPool
- addStringDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addStringDef(String, String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addUrlDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- addUrlDef(String, String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- append() - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder.Array
-
Create a new slime object and returns its payload builder.
- append(String) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder.Array
-
Append a value to this array.
- APPLICATION_NOT_LOADED - Static variable in class com.yahoo.vespa.config.ErrorCode
- applyDefaults(Slime, InnerCNode) - Method in class com.yahoo.vespa.config.DefaultValueApplier
- applyDefaultsFromDef(InnerCNode) - Method in class com.yahoo.vespa.config.ConfigPayload
- applyOnRestart() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription.ConfigState
- applyOnRestart() - Method in interface com.yahoo.vespa.config.protocol.ConfigResponse
- applyOnRestart() - Method in interface com.yahoo.vespa.config.protocol.JRTServerConfigRequest
- applyOnRestart() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- applyOnRestart() - Method in class com.yahoo.vespa.config.protocol.SlimeConfigResponse
- applyOnRestart() - Method in class com.yahoo.vespa.config.RawConfig
- applyPayload(ConfigPayload) - Method in class com.yahoo.vespa.config.ConfigPayloadApplier
- Array(ConfigDefinition, String) - Constructor for class com.yahoo.vespa.config.ConfigPayloadBuilder.Array
- Array(ConfigPayloadBuilder.Array) - Constructor for class com.yahoo.vespa.config.ConfigPayloadBuilder.Array
- arrayDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- asFileName() - Method in class com.yahoo.vespa.config.ConfigDefinitionKey
- asList() - Method in class com.yahoo.vespa.config.protocol.DefContent
- asString() - Method in class com.yahoo.vespa.config.PayloadChecksum
- asString() - Method in class com.yahoo.vespa.config.protocol.DefContent
- asStringArray() - Method in class com.yahoo.vespa.config.protocol.DefContent
C
- CfgConfigPayloadBuilder - Class in com.yahoo.config.subscription
-
Deserializes config payload (cfg format) to a ConfigPayload.
- CfgConfigPayloadBuilder() - Constructor for class com.yahoo.config.subscription.CfgConfigPayloadBuilder
- checkReloaded() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
-
True if someone has set the
ConfigSubscription.reloadedGeneration
number by callingConfigSubscription.reload(long)
and hence wants to force a given generation programmatically. - checkReturnTypes(Request) - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- checkStateBeforeSubscribe() - Method in class com.yahoo.config.subscription.ConfigSubscriber
- checkV3ReturnTypes(Request) - Static method in class com.yahoo.vespa.config.JRTMethods
- close() - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Closes all open
ConfigSubscription
s - close() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
- close() - Method in class com.yahoo.config.subscription.impl.JRTConfigRequester
- close() - Method in class com.yahoo.config.subscription.impl.JRTConfigSubscription
- close() - Method in class com.yahoo.config.subscription.impl.MockConnection
- close() - Method in interface com.yahoo.vespa.config.benchmark.Tester
- close() - Method in interface com.yahoo.vespa.config.ConnectionPool
- close() - Method in class com.yahoo.vespa.config.JRTConnectionPool
- CLOSED - com.yahoo.config.subscription.ConfigSubscriber.State
- closeRequesters() - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Closes all open requesters
- closeRequesters() - Method in class com.yahoo.config.subscription.impl.GenericConfigSubscriber
-
Do nothing, since we share requesters
- com.yahoo.config.codegen - package com.yahoo.config.codegen
- com.yahoo.config.subscription - package com.yahoo.config.subscription
- com.yahoo.config.subscription.impl - package com.yahoo.config.subscription.impl
- com.yahoo.vespa.config - package com.yahoo.vespa.config
- com.yahoo.vespa.config.benchmark - package com.yahoo.vespa.config.benchmark
- com.yahoo.vespa.config.buildergen - package com.yahoo.vespa.config.buildergen
- com.yahoo.vespa.config.parser - package com.yahoo.vespa.config.parser
- com.yahoo.vespa.config.protocol - package com.yahoo.vespa.config.protocol
- com.yahoo.vespa.config.util - package com.yahoo.vespa.config.util
- compare(String, String) - Method in class com.yahoo.vespa.config.ConfigDefinition.VersionComparator
- compareTo(ConfigKey<?>) - Method in class com.yahoo.vespa.config.ConfigKey
-
Comparison sort order: namespace, name, configId.
- compress(byte[]) - Method in class com.yahoo.vespa.config.LZ4PayloadCompressor
- compress(ByteBuffer) - Method in class com.yahoo.vespa.config.LZ4PayloadCompressor
- CompressionInfo - Class in com.yahoo.vespa.config.protocol
-
Contains info relevant for compression and decompression.
- CompressionType - Enum in com.yahoo.vespa.config.protocol
- ConfigCacheKey - Class in com.yahoo.vespa.config
-
A ConfigKey that also uses the def MD5 sum.
- ConfigCacheKey(ConfigKey<?>, String) - Constructor for class com.yahoo.vespa.config.ConfigCacheKey
-
Constructs a new server key based on the contents of the given
ConfigKey
and the def md5 sum. - configClass - Variable in class com.yahoo.config.subscription.impl.ConfigSubscription
- ConfigDebug - Class in com.yahoo.config.subscription
- ConfigDebug() - Constructor for class com.yahoo.config.subscription.ConfigDebug
- ConfigDefinition - Class in com.yahoo.vespa.config.buildergen
-
Represents a higher level functionality on a config definition to (in the future) hide the InnerCNode class.
- ConfigDefinition - Class in com.yahoo.vespa.config
-
Represents one legal def file, or (internally) one array or inner array definition in a def file.
- ConfigDefinition(String, String) - Constructor for class com.yahoo.vespa.config.ConfigDefinition
- ConfigDefinition(String, String[]) - Constructor for class com.yahoo.vespa.config.buildergen.ConfigDefinition
- ConfigDefinition(String, String, String) - Constructor for class com.yahoo.vespa.config.ConfigDefinition
-
Deprecated.
- ConfigDefinition.ArrayDef - Class in com.yahoo.vespa.config
-
An array def is a ConfigDefinition with only one other type of scalar def.
- ConfigDefinition.BoolDef - Class in com.yahoo.vespa.config
- ConfigDefinition.DefaultValued<T> - Interface in com.yahoo.vespa.config
-
A Default specification where instances _may_ have a default value
- ConfigDefinition.DoubleDef - Class in com.yahoo.vespa.config
-
The type is called 'double' in .def files, but it is a 64-bit IEE 754 double, which means it must be represented as a double in Java
- ConfigDefinition.EnumDef - Class in com.yahoo.vespa.config
- ConfigDefinition.FileDef - Class in com.yahoo.vespa.config
- ConfigDefinition.InnerArrayDef - Class in com.yahoo.vespa.config
-
An InnerArray def is a ConfigDefinition with n scalar types of defs, and maybe sub-InnerArrays
- ConfigDefinition.IntDef - Class in com.yahoo.vespa.config
- ConfigDefinition.LeafMapDef - Class in com.yahoo.vespa.config
-
Def of a myMap{} int
- ConfigDefinition.LongDef - Class in com.yahoo.vespa.config
- ConfigDefinition.PathDef - Class in com.yahoo.vespa.config
- ConfigDefinition.RefDef - Class in com.yahoo.vespa.config
- ConfigDefinition.StringDef - Class in com.yahoo.vespa.config
- ConfigDefinition.StructDef - Class in com.yahoo.vespa.config
-
A ConfigDefinition that represents a struct, e.g.
- ConfigDefinition.StructMapDef - Class in com.yahoo.vespa.config
-
Def of a myMap{}.myInt int
- ConfigDefinition.TypeSpec - Class in com.yahoo.vespa.config
-
String based ("untyped") type specification used by parser and arrays.
- ConfigDefinition.UrlDef - Class in com.yahoo.vespa.config
- ConfigDefinition.VersionComparator - Class in com.yahoo.vespa.config
-
Compares def-versions.
- ConfigDefinitionBuilder - Class in com.yahoo.vespa.config
-
Builds a ConfigDefinition from a tree of CNodes.
- ConfigDefinitionBuilder() - Constructor for class com.yahoo.vespa.config.ConfigDefinitionBuilder
- ConfigDefinitionKey - Class in com.yahoo.vespa.config
-
A config definition key: name, namespace)
- ConfigDefinitionKey(ConfigKey<?>) - Constructor for class com.yahoo.vespa.config.ConfigDefinitionKey
- ConfigDefinitionKey(String, String) - Constructor for class com.yahoo.vespa.config.ConfigDefinitionKey
-
Creates a config definition key.
- ConfigFileFormat - Class in com.yahoo.vespa.config
- ConfigFileFormat(InnerCNode) - Constructor for class com.yahoo.vespa.config.ConfigFileFormat
- ConfigGetter<T extends com.yahoo.config.ConfigInstance> - Class in com.yahoo.config.subscription
-
This is a simple config getter that retrieves a config with a given class and configId through a simple method call.
- ConfigGetter(ConfigSource, Class<T>) - Constructor for class com.yahoo.config.subscription.ConfigGetter
-
Creates a ConfigGetter for class
clazz
with the specifiedConfigSource
. - ConfigGetter(Class<T>) - Constructor for class com.yahoo.config.subscription.ConfigGetter
-
Creates a ConfigGetter for class
clazz
- ConfigHandle<T extends com.yahoo.config.ConfigInstance> - Class in com.yahoo.config.subscription
-
A config handle represents one config in the context of one active subscription on a
ConfigSubscriber
. - ConfigHandle(ConfigSubscription<T>) - Constructor for class com.yahoo.config.subscription.ConfigHandle
- ConfigInstanceSerializer - Class in com.yahoo.config.subscription
-
Implements a config instance serializer, serializing a config instance to a slime object.
- ConfigInstanceSerializer(Slime) - Constructor for class com.yahoo.config.subscription.ConfigInstanceSerializer
- ConfigInstanceSerializer(Slime, Cursor) - Constructor for class com.yahoo.config.subscription.ConfigInstanceSerializer
- ConfigInstanceUtil - Class in com.yahoo.config.subscription
- ConfigInstanceUtil() - Constructor for class com.yahoo.config.subscription.ConfigInstanceUtil
- ConfigInterruptedException - Exception in com.yahoo.config.subscription
-
This exception is thrown when any blocking call within the Config API is interrupted.
- ConfigInterruptedException(Throwable) - Constructor for exception com.yahoo.config.subscription.ConfigInterruptedException
- ConfigKey<CONFIGCLASS extends com.yahoo.config.ConfigInstance> - Class in com.yahoo.vespa.config
-
Class for holding the key when doing cache look-ups and other management of config instances.
- ConfigKey(Class<CONFIGCLASS>, String) - Constructor for class com.yahoo.vespa.config.ConfigKey
-
Creates a new instance from the given class and configId
- ConfigKey(String, String, String) - Constructor for class com.yahoo.vespa.config.ConfigKey
-
Constructs new key
- ConfigKey(String, String, String, Class<CONFIGCLASS>) - Constructor for class com.yahoo.vespa.config.ConfigKey
- ConfigPayload - Class in com.yahoo.vespa.config
-
A config payload.
- ConfigPayload(Slime) - Constructor for class com.yahoo.vespa.config.ConfigPayload
- ConfigPayloadApplier<T extends com.yahoo.config.ConfigInstance.Builder> - Class in com.yahoo.vespa.config
-
A utility class that can be used to apply a payload to a config builder.
- ConfigPayloadApplier(T) - Constructor for class com.yahoo.vespa.config.ConfigPayloadApplier
- ConfigPayloadApplier(T, ConfigTransformer.PathAcquirer, UrlDownloader) - Constructor for class com.yahoo.vespa.config.ConfigPayloadApplier
- ConfigPayloadBuilder - Class in com.yahoo.vespa.config
-
Helper class for building Slime config payloads, while supporting referring to payloads with their indices.
- ConfigPayloadBuilder() - Constructor for class com.yahoo.vespa.config.ConfigPayloadBuilder
-
Construct a payload builder that is not a leaf.
- ConfigPayloadBuilder(ConfigDefinition) - Constructor for class com.yahoo.vespa.config.ConfigPayloadBuilder
- ConfigPayloadBuilder(ConfigPayload) - Constructor for class com.yahoo.vespa.config.ConfigPayloadBuilder
- ConfigPayloadBuilder.Array - Class in com.yahoo.vespa.config
-
Representation of a config array, which supports both INDEX and APPEND modes.
- ConfigPayloadBuilder.MapBuilder - Class in com.yahoo.vespa.config
- configPayloadChecksums() - Method in interface com.yahoo.vespa.config.GetConfigRequest
-
Returns the payload checksums from the config request.
- configPayloadChecksums() - Method in interface com.yahoo.vespa.config.protocol.JRTServerConfigRequest
-
Returns the payload checksums from the config request.
- configPayloadChecksums() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- ConfigResponse - Interface in com.yahoo.vespa.config.protocol
-
A config response encapsulates the payload and some meta information.
- ConfigSet - Class in com.yahoo.config.subscription
-
Config source as a programmatically built set of
ConfigInstance
s - ConfigSet() - Constructor for class com.yahoo.config.subscription.ConfigSet
- ConfigSetSubscription<T extends com.yahoo.config.ConfigInstance> - Class in com.yahoo.config.subscription.impl
-
Subscription on a programmatically built set of configs
- ConfigSource - Interface in com.yahoo.config.subscription
-
A type of source of config
- ConfigSourceSet - Class in com.yahoo.config.subscription
-
An immutable set of connection endpoints, where each endpoint points to either a remote config server or a config proxy.
- ConfigSourceSet() - Constructor for class com.yahoo.config.subscription.ConfigSourceSet
-
Creates an empty ConfigSourceSet, mostly used for unit testing.
- ConfigSourceSet(String) - Constructor for class com.yahoo.config.subscription.ConfigSourceSet
-
Convenience constructor to create a ConfigSourceSet with only one input address.
- ConfigSourceSet(String[]) - Constructor for class com.yahoo.config.subscription.ConfigSourceSet
-
Creates a ConfigSourceSet containing all the unique given input addresses.
- ConfigSourceSet(List<String>) - Constructor for class com.yahoo.config.subscription.ConfigSourceSet
-
Creates a ConfigSourceSet containing all the unique given input addresses.
- ConfigSubscriber - Class in com.yahoo.config.subscription
-
Used for subscribing to one or more configs.
- ConfigSubscriber() - Constructor for class com.yahoo.config.subscription.ConfigSubscriber
-
Constructs a new subscriber.
- ConfigSubscriber(ConfigSource) - Constructor for class com.yahoo.config.subscription.ConfigSubscriber
-
Constructs a new subscriber with the given source.
- ConfigSubscriber.SingleSubscriber<T extends com.yahoo.config.ConfigInstance> - Interface in com.yahoo.config.subscription
-
Convenience interface for clients who only subscribe to one config.
- ConfigSubscriber.State - Enum in com.yahoo.config.subscription
-
The states of the subscriber.
- ConfigSubscription<T extends com.yahoo.config.ConfigInstance> - Class in com.yahoo.config.subscription.impl
-
Represents one active subscription to one config
- ConfigSubscription.ConfigState<T extends com.yahoo.config.ConfigInstance> - Class in com.yahoo.config.subscription.impl
- ConfigTransformer<T extends com.yahoo.config.ConfigInstance> - Class in com.yahoo.vespa.config
-
A utility class that can be used to transform config from one format to another.
- ConfigTransformer(Class<T>) - Constructor for class com.yahoo.vespa.config.ConfigTransformer
-
Create a transformer capable of converting payloads to clazz
- ConfigTransformer.PathAcquirer - Interface in com.yahoo.vespa.config
-
Workaround since FileAcquirer is in a separate module that depends on config.
- configure(T) - Method in interface com.yahoo.config.subscription.ConfigSubscriber.SingleSubscriber
- ConfigURI - Class in com.yahoo.config.subscription
-
A Config URI is a class that can be used to encapsulate a config source and a config id into one object to simplify parameter passing.
- ConfigUtils - Class in com.yahoo.vespa.config.util
-
Utilities for mangling config text, finding checksums, finding name and namespace in .def files etc.
- ConfigUtils() - Constructor for class com.yahoo.vespa.config.util.ConfigUtils
- configV3getConfigMethodName - Static variable in class com.yahoo.vespa.config.JRTMethods
- Connection - Interface in com.yahoo.vespa.config
- ConnectionPool - Interface in com.yahoo.vespa.config
- contains(ConfigKey<?>) - Method in class com.yahoo.config.subscription.ConfigSet
-
Returns true if this set contains a config instance matching the given key
- create(ConfigSourceSet, TimingValues) - Static method in class com.yahoo.config.subscription.impl.JRTConfigRequester
- create(CompressionType, int) - Static method in class com.yahoo.vespa.config.protocol.CompressionInfo
- createArray(String) - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- createConfigDefinition(CNode) - Static method in class com.yahoo.vespa.config.ConfigDefinitionBuilder
-
Creates a ConfigDefinition based on a tree generated from parsing a config definition file.
- createConfigDefinitionKeyFromDefFile(File) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
-
Creates a ConfigDefinitionKey from a file by reading the file and parsing contents for namespace.
- createConfigDefinitionKeyFromZKString(String) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
-
Creates a ConfigDefinitionKey from a string for the name of a node in ZooKeeper that holds a config definition
- createConfigV3GetConfigMethod(MethodHandler) - Static method in class com.yahoo.vespa.config.JRTMethods
- createDefault() - Static method in class com.yahoo.config.subscription.ConfigSourceSet
-
Create a new source set using the environment variables or system properties
- createDummy() - Static method in class com.yahoo.vespa.config.protocol.Trace
- createFromId(String) - Static method in class com.yahoo.config.subscription.ConfigURI
- createFromIdAndSource(String, ConfigSource) - Static method in class com.yahoo.config.subscription.ConfigURI
- createFromRaw(RawConfig, long) - Static method in class com.yahoo.vespa.config.protocol.JRTConfigRequestFactory
- createFromRaw(RawConfig, long, Trace, CompressionType, Optional<VespaVersion>) - Static method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- createFromRequest(Request) - Static method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- createFromResponseParameters(JRTClientConfigRequest) - Static method in class com.yahoo.vespa.config.RawConfig
-
Creates a new Config from the given request, with the values in the response parameters.
- createFromServerRequest(JRTServerConfigRequest) - Static method in class com.yahoo.vespa.config.RawConfig
-
Creates a new Config from the given request, with the values in the response parameters.
- createFromSub(JRTConfigSubscription<T>) - Static method in class com.yahoo.vespa.config.protocol.JRTConfigRequestFactory
- createFromSub(JRTConfigSubscription<T>, Trace, CompressionType, Optional<VespaVersion>) - Static method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- createFull(String, String, String) - Static method in class com.yahoo.vespa.config.ConfigKey
- createInner() - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- createInner(String) - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- createJsonGenerator(ByteArrayOutputStream) - Static method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- createMap(String) - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- createNew() - Static method in class com.yahoo.vespa.config.protocol.Trace
- createNew(int) - Static method in class com.yahoo.vespa.config.protocol.Trace
- createNew(int, Clock) - Static method in class com.yahoo.vespa.config.protocol.Trace
- createResponse() - Method in class com.yahoo.config.subscription.impl.MockConnection.AbstractResponseHandler
- createResponseValue(ByteArrayOutputStream) - Static method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- createWithParams(ConfigKey<?>, DefContent, String, PayloadChecksums, long, long, Trace, CompressionType, Optional<VespaVersion>) - Static method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
D
- decode(InputStream, Slime) - Method in class com.yahoo.vespa.config.ConfigFileFormat
- decompress(byte[], int) - Method in class com.yahoo.vespa.config.LZ4PayloadCompressor
- decompress(ByteBuffer, int) - Method in class com.yahoo.vespa.config.LZ4PayloadCompressor
- defaultNextConfigTimeout - Static variable in class com.yahoo.vespa.config.TimingValues
- defaultSourceSet - Static variable in class com.yahoo.config.subscription.impl.JRTConfigRequester
- DefaultValueApplier - Class in com.yahoo.vespa.config
-
Applies default values of a given config definition to a slime payload.
- DefaultValueApplier() - Constructor for class com.yahoo.vespa.config.DefaultValueApplier
- DefContent - Class in com.yahoo.vespa.config.protocol
- deserialize() - Method in class com.yahoo.vespa.config.protocol.SlimeTraceDeserializer
- deserialize(List<String>) - Method in class com.yahoo.config.subscription.CfgConfigPayloadBuilder
-
Deserializes a config payload to slime
- deserializeToBuilder(List<String>) - Method in class com.yahoo.config.subscription.CfgConfigPayloadBuilder
- DirSource - Class in com.yahoo.config.subscription
-
Source specifying config from a local directory
- DirSource(File) - Constructor for class com.yahoo.config.subscription.DirSource
- dispatchGetConfig(ConfigInstance.Producer) - Method in class com.yahoo.vespa.config.GenericConfig.GenericConfigBuilder
- DOES_NOT_EXIST - Static variable in class com.yahoo.vespa.config.UrlDownloader
E
- empty() - Static method in class com.yahoo.vespa.config.ConfigPayload
- empty() - Static method in class com.yahoo.vespa.config.PayloadChecksums
- empty(PayloadChecksum.Type) - Static method in class com.yahoo.vespa.config.PayloadChecksum
- encode(OutputStream, Slime) - Method in class com.yahoo.vespa.config.ConfigFileFormat
- encodeAsUtf8String(Slime) - Static method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- equals(Object) - Method in class com.yahoo.config.subscription.ConfigSourceSet
- equals(Object) - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
- equals(Object) - Method in class com.yahoo.vespa.config.ConfigCacheKey
- equals(Object) - Method in class com.yahoo.vespa.config.ConfigDefinitionKey
- equals(Object) - Method in class com.yahoo.vespa.config.ConfigKey
- equals(Object) - Method in class com.yahoo.vespa.config.JRTConnection
- equals(Object) - Method in class com.yahoo.vespa.config.PayloadChecksum
- equals(Object) - Method in class com.yahoo.vespa.config.PayloadChecksums
- equals(Object) - Method in class com.yahoo.vespa.config.protocol.CompressionInfo
- equals(Object) - Method in class com.yahoo.vespa.config.protocol.Payload
- equals(Object) - Method in class com.yahoo.vespa.config.protocol.VespaVersion
- equals(Object) - Method in class com.yahoo.vespa.config.RawConfig
- errorCode() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- errorCode() - Method in interface com.yahoo.vespa.config.protocol.JRTConfigRequest
-
Returns the error code of this request
- errorCode() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- errorCode() - Method in class com.yahoo.vespa.config.RawConfig
- ErrorCode - Class in com.yahoo.vespa.config
- errorMessage() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- errorMessage() - Method in interface com.yahoo.vespa.config.protocol.JRTConfigRequest
-
Return the error message of this request, mostly corresponding to the
ErrorCode
. - errorMessage() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- escapeConfigFormatValue(String) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
-
Escapes a config value according to the cfg format.
F
- fetch() - Method in interface com.yahoo.vespa.config.benchmark.Tester
- field(String, Inspector) - Method in class com.yahoo.vespa.config.ConfigFileFormat
- FileConfigSubscription<T extends com.yahoo.config.ConfigInstance> - Class in com.yahoo.config.subscription.impl
-
Subscription used when config id is file:...
- FileSource - Class in com.yahoo.config.subscription
-
Source specifying config from one local file
- FileSource(File) - Constructor for class com.yahoo.config.subscription.FileSource
- finalize() - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Finalizer to ensure that we do not leak resources on reconfig.
- from(AbstractUtf8Array) - Static method in class com.yahoo.vespa.config.protocol.Payload
-
Creates an uncompressed payload from an Utf8Array
- from(AbstractUtf8Array, CompressionInfo) - Static method in class com.yahoo.vespa.config.protocol.Payload
- from(ConfigPayload) - Static method in class com.yahoo.vespa.config.protocol.Payload
- from(PayloadChecksum...) - Static method in class com.yahoo.vespa.config.PayloadChecksums
- from(String) - Static method in class com.yahoo.vespa.config.protocol.Payload
-
Creates an uncompressed payload from a string
- from(String, CompressionInfo) - Static method in class com.yahoo.vespa.config.protocol.Payload
- from(String, String) - Static method in class com.yahoo.vespa.config.PayloadChecksums
- fromArray(String[]) - Static method in class com.yahoo.vespa.config.protocol.DefContent
- fromBuilder(ConfigPayloadBuilder) - Static method in class com.yahoo.vespa.config.ConfigPayload
- fromClass(Class<? extends ConfigInstance>) - Static method in class com.yahoo.vespa.config.protocol.DefContent
- fromConfigPayload(ConfigPayload, long, boolean, PayloadChecksums) - Static method in class com.yahoo.vespa.config.protocol.SlimeConfigResponse
- fromInstance(ConfigInstance) - Static method in class com.yahoo.vespa.config.ConfigPayload
- fromList(List<String>) - Static method in class com.yahoo.vespa.config.protocol.DefContent
- fromPayload(Payload) - Static method in class com.yahoo.vespa.config.PayloadChecksums
- fromPayload(Payload, PayloadChecksum.Type) - Static method in class com.yahoo.vespa.config.PayloadChecksum
- fromSlime(Inspector) - Static method in class com.yahoo.vespa.config.protocol.CompressionInfo
- fromSlime(Inspector) - Static method in class com.yahoo.vespa.config.protocol.Trace
- fromString(String) - Static method in class com.yahoo.vespa.config.ConfigPayload
- fromString(String) - Static method in class com.yahoo.vespa.config.protocol.VespaVersion
- fromUtf8Array(AbstractUtf8Array) - Static method in class com.yahoo.vespa.config.ConfigPayload
- FROZEN - com.yahoo.config.subscription.ConfigSubscriber.State
G
- GenerationCounter - Interface in com.yahoo.vespa.config
-
Interface for counters.
- GenericConfig - Class in com.yahoo.vespa.config
-
A generic config with an internal generic builder that mimics a real config builder in order to support builders when we don't have the schema.
- GenericConfig() - Constructor for class com.yahoo.vespa.config.GenericConfig
- GenericConfig.GenericConfigBuilder - Class in com.yahoo.vespa.config
- GenericConfigBuilder(ConfigDefinitionKey, ConfigPayloadBuilder) - Constructor for class com.yahoo.vespa.config.GenericConfig.GenericConfigBuilder
- GenericConfigHandle - Class in com.yahoo.config.subscription.impl
-
A config handle which does not use the config class, but payload instead.
- GenericConfigHandle(GenericJRTConfigSubscription) - Constructor for class com.yahoo.config.subscription.impl.GenericConfigHandle
- GenericConfigSubscriber - Class in com.yahoo.config.subscription.impl
-
A subscriber that can subscribe without the class.
- GenericConfigSubscriber(Map<ConfigSourceSet, JRTConfigRequester>) - Constructor for class com.yahoo.config.subscription.impl.GenericConfigSubscriber
-
Constructs a new subscriber using the given pool of requesters (JRTConfigRequester holds 1 connection which in turn is subject to failover across the elems in the source set.) The behaviour is undefined if the map key is different from the source set the requester was built with.
- GenericJRTConfigSubscription - Class in com.yahoo.config.subscription.impl
-
A JRT subscription which does not use the config class, but
RawConfig
instead. - GenericJRTConfigSubscription(ConfigKey<RawConfig>, List<String>, ConfigSubscriber, ConfigSource, TimingValues) - Constructor for class com.yahoo.config.subscription.impl.GenericJRTConfigSubscription
- get() - Method in interface com.yahoo.vespa.config.GenerationCounter
- get(int) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder.Array
-
Get payload builder in this array corresponding to index.
- get(ConfigKey<?>) - Method in class com.yahoo.config.subscription.ConfigSet
-
Returns a Builder matching the given key, or null if no match
- get(ConfigKey<T>, ConfigSubscriber, ConfigSource, TimingValues) - Static method in class com.yahoo.config.subscription.impl.ConfigSubscription
-
Correct type of ConfigSubscription instance based on type of source or form of config id
- get(String) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder.MapBuilder
- getAddress() - Method in class com.yahoo.config.subscription.impl.MockConnection
- getAddress() - Method in interface com.yahoo.vespa.config.Connection
- getAddress() - Method in class com.yahoo.vespa.config.JRTConnection
- getArray(String) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder
-
Create a new array where new values may be added.
- getArrayDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getBoolDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getCanonicalHostName() - Static method in class com.yahoo.vespa.config.util.ConfigUtils
- getChecksums() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription.ConfigState
- getClientHostName() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getClientHostName() - Method in interface com.yahoo.vespa.config.protocol.JRTConfigRequest
-
Returns the host name of the client that is requesting config.
- getClientHostName() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- getCNode() - Method in class com.yahoo.vespa.config.buildergen.ConfigDefinition
- getCompressionInfo() - Method in interface com.yahoo.vespa.config.protocol.ConfigResponse
- getCompressionInfo() - Method in class com.yahoo.vespa.config.protocol.Payload
- getCompressionInfo() - Method in class com.yahoo.vespa.config.protocol.SlimeConfigResponse
- getCompressionType() - Method in class com.yahoo.vespa.config.protocol.CompressionInfo
- getCompressionType() - Static method in class com.yahoo.vespa.config.protocol.JRTConfigRequestFactory
- getCompressionType() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- getConfig() - Method in class com.yahoo.config.subscription.ConfigHandle
-
The config of this handle
- getConfig() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription.ConfigState
- getConfig(Class<T>, String) - Static method in class com.yahoo.config.subscription.ConfigGetter
-
Creates a ConfigGetter instance and returns an instance of the config class
c
. - getConfig(Class<T>, String, ConfigSource) - Static method in class com.yahoo.config.subscription.ConfigGetter
-
Creates a ConfigGetter instance and returns an instance of the config class
c
. - getConfig(String) - Method in class com.yahoo.config.subscription.ConfigGetter
-
Returns an instance of the config class specified in the constructor.
- getConfigClass() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
-
The class of the subscription's desired
ConfigInstance
- getConfigClass() - Method in class com.yahoo.vespa.config.ConfigKey
- getConfigDefinition() - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder
- getConfigId() - Method in class com.yahoo.config.subscription.ConfigURI
- getConfigId() - Method in class com.yahoo.vespa.config.ConfigKey
- getConfigId() - Method in class com.yahoo.vespa.config.RawConfig
- getConfigKey() - Method in interface com.yahoo.vespa.config.GetConfigRequest
-
Returns the ConfigKey for this request.
- getConfigKey() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getConfigKey() - Method in interface com.yahoo.vespa.config.protocol.JRTConfigRequest
-
Returns the config key of the config request.
- getConfigKey() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- GetConfigRequest - Interface in com.yahoo.vespa.config
-
Interface for getConfig requests.
- getConfigState() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
-
The config state object of this subscription
- getConnectionPool() - Method in class com.yahoo.config.subscription.impl.JRTConfigRequester
- getCurrent() - Method in class com.yahoo.config.subscription.impl.MockConnection
- getCurrent() - Method in interface com.yahoo.vespa.config.ConnectionPool
- getCurrent() - Method in class com.yahoo.vespa.config.JRTConnectionPool
-
Returns the current JRTConnection instance
- getData() - Method in class com.yahoo.vespa.config.protocol.Payload
- getDef() - Method in class com.yahoo.vespa.config.ConfigDefinition.TypeSpec
- getDefContent() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
-
The config definition schema
- getDefContent() - Method in class com.yahoo.config.subscription.impl.GenericJRTConfigSubscription
-
The config definition schema
- getDefContent() - Method in interface com.yahoo.vespa.config.GetConfigRequest
-
The def file contents in the request, or empty array if not sent/not supported
- getDefContent() - Method in interface com.yahoo.vespa.config.protocol.JRTClientConfigRequest
-
Get config definition content.
- getDefContent() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getDefContent() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- getDefContent() - Method in class com.yahoo.vespa.config.RawConfig
- getDefMd5() - Method in class com.yahoo.vespa.config.ConfigCacheKey
-
The def md5 sum of this key
- getDefMd5() - Method in class com.yahoo.vespa.config.GenericConfig.GenericConfigBuilder
- getDefMd5() - Method in class com.yahoo.vespa.config.RawConfig
- getDefMd5(List<String>) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
-
Computes Md5 hash of a list of strings with the contents of a def-file.
- getDefMd5FromRequest(String, List<String>) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
- getDefName() - Method in class com.yahoo.vespa.config.GenericConfig.GenericConfigBuilder
- getDefNamespace() - Method in class com.yahoo.vespa.config.GenericConfig.GenericConfigBuilder
- getDefNamespace() - Method in class com.yahoo.vespa.config.RawConfig
- getDefNamespace(Reader) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
-
Finds the def package or namespace from a reader for a def-file.
- getDefVal() - Method in class com.yahoo.vespa.config.ConfigDefinition.BoolDef
- getDefVal() - Method in interface com.yahoo.vespa.config.ConfigDefinition.DefaultValued
- getDefVal() - Method in class com.yahoo.vespa.config.ConfigDefinition.DoubleDef
- getDefVal() - Method in class com.yahoo.vespa.config.ConfigDefinition.EnumDef
- getDefVal() - Method in class com.yahoo.vespa.config.ConfigDefinition.FileDef
- getDefVal() - Method in class com.yahoo.vespa.config.ConfigDefinition.IntDef
- getDefVal() - Method in class com.yahoo.vespa.config.ConfigDefinition.LongDef
- getDefVal() - Method in class com.yahoo.vespa.config.ConfigDefinition.PathDef
- getDefVal() - Method in class com.yahoo.vespa.config.ConfigDefinition.RefDef
- getDefVal() - Method in class com.yahoo.vespa.config.ConfigDefinition.StringDef
- getDefVal() - Method in class com.yahoo.vespa.config.ConfigDefinition.UrlDef
- getDir() - Method in class com.yahoo.config.subscription.DirSource
- getDoubleDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getElements() - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder.Array
- getElements() - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder.MapBuilder
- getEnumDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getEnumVals() - Method in class com.yahoo.vespa.config.ConfigDefinition.TypeSpec
- getEnvValue(String, String...) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
-
Loop through values and return the first one that is set and non-empty.
- getErrorTimeout() - Method in class com.yahoo.vespa.config.TimingValues
-
Returns timeout to use as server timeout when we got an error with the previous config request.
- getException() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
-
Gets an exception set by for example a network thread.
- getField(ConfigBuilder, String) - Static method in class com.yahoo.config.subscription.ConfigInstanceUtil
-
Gets the value of a private field on a Builder.
- getFile() - Method in class com.yahoo.config.subscription.FileSource
- getFileDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getFixedDelay() - Method in class com.yahoo.vespa.config.TimingValues
-
Returns fixed delay that is used when retrying getting config no matter if it was a success or an error and independent of number of retries.
- getForType(PayloadChecksum.Type) - Method in class com.yahoo.vespa.config.PayloadChecksums
- getGeneration() - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
The current generation of configs known by this subscriber.
- getGeneration() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription.ConfigState
- getGeneration() - Method in interface com.yahoo.vespa.config.protocol.ConfigResponse
- getGeneration() - Method in class com.yahoo.vespa.config.protocol.SlimeConfigResponse
- getGeneration() - Method in class com.yahoo.vespa.config.RawConfig
- getIndex() - Method in class com.yahoo.vespa.config.ConfigDefinition.TypeSpec
- getInnerArrayDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getIntDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getJarFile() - Method in class com.yahoo.config.subscription.JarSource
- getJRTMethodName() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getKey() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
-
The config key which this subscription uses to identify its config
- getKey() - Method in class com.yahoo.vespa.config.ConfigCacheKey
- getKey() - Method in class com.yahoo.vespa.config.RawConfig
- getLeafMapDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getLongDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getMap(String) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder
-
Create a new map where new values may be added.
- getMax() - Method in class com.yahoo.vespa.config.ConfigDefinition.IntDef
- getMax() - Method in class com.yahoo.vespa.config.ConfigDefinition.LongDef
- getMax() - Method in class com.yahoo.vespa.config.ConfigDefinition.TypeSpec
- getMd5(AbstractUtf8Array) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
- getMd5(String) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
- getMin() - Method in class com.yahoo.vespa.config.ConfigDefinition.IntDef
- getMin() - Method in class com.yahoo.vespa.config.ConfigDefinition.LongDef
- getMin() - Method in class com.yahoo.vespa.config.ConfigDefinition.TypeSpec
- getName() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getName() - Method in class com.yahoo.vespa.config.ConfigDefinition.TypeSpec
- getName() - Method in class com.yahoo.vespa.config.ConfigDefinitionKey
- getName() - Method in class com.yahoo.vespa.config.ConfigKey
- getName() - Method in class com.yahoo.vespa.config.RawConfig
- getName(int) - Static method in class com.yahoo.vespa.config.ErrorCode
- getNameAndNamespaceFromString(String) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
-
Finds the name and namespace from a string with "namespace.name".
- getNamespace() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getNamespace() - Method in class com.yahoo.vespa.config.ConfigDefinitionKey
- getNamespace() - Method in class com.yahoo.vespa.config.ConfigKey
- getNamespace() - Method in class com.yahoo.vespa.config.RawConfig
- getNewChecksums() - Method in interface com.yahoo.vespa.config.protocol.JRTClientConfigRequest
-
Gets the config checksums of the config returned by the server.
- getNewChecksums() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getNewGeneration() - Method in interface com.yahoo.vespa.config.protocol.JRTClientConfigRequest
-
Get the generation of the newly provided config.
- getNewGeneration() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getNewInstance(Class<T>, String, ConfigPayload) - Static method in class com.yahoo.config.subscription.ConfigInstanceUtil
- getNewPayload() - Method in interface com.yahoo.vespa.config.protocol.JRTClientConfigRequest
-
Return the payload in the response given by the server.
- getNewPayload() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getNumberOfRequests() - Method in class com.yahoo.config.subscription.impl.MockConnection
- getObject(String) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder
-
Get a new payload builder for a config struct, which can be used to add inner values to that struct.
- getPath() - Method in class com.yahoo.config.subscription.JarSource
- getPath(FileReference) - Method in interface com.yahoo.vespa.config.ConfigTransformer.PathAcquirer
- getPathDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getPayload() - Method in class com.yahoo.vespa.config.GenericConfig.GenericConfigBuilder
- getPayload() - Method in interface com.yahoo.vespa.config.protocol.ConfigResponse
- getPayload() - Method in class com.yahoo.vespa.config.protocol.SlimeConfigResponse
- getPayload() - Method in class com.yahoo.vespa.config.RawConfig
- getPayloadChecksums() - Method in interface com.yahoo.vespa.config.protocol.ConfigResponse
- getPayloadChecksums() - Method in class com.yahoo.vespa.config.protocol.SlimeConfigResponse
- getPayloadChecksums() - Method in class com.yahoo.vespa.config.RawConfig
- getPlusMinusFractionRandom(long, float) - Method in class com.yahoo.vespa.config.TimingValues
-
Returns a number +/- a random component
- getProtocolVersion() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getProtocolVersion() - Method in interface com.yahoo.vespa.config.protocol.JRTConfigRequest
-
Returns the config protocol version
- getProtocolVersion() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- getRawConfig() - Method in class com.yahoo.config.subscription.impl.GenericConfigHandle
- getRawConfig() - Method in class com.yahoo.config.subscription.impl.GenericJRTConfigSubscription
- getReferenceDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getRequest() - Method in class com.yahoo.config.subscription.impl.MockConnection
- getRequest() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getRequest() - Method in interface com.yahoo.vespa.config.protocol.JRTConfigRequest
-
Returns the JRT request object for this config request.
- getRequest() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- getRequestConfigChecksums() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getRequestConfigChecksums() - Method in interface com.yahoo.vespa.config.protocol.JRTConfigRequest
-
Returns the generation of the requested config.
- getRequestConfigChecksums() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- getRequestDefMd5() - Method in interface com.yahoo.vespa.config.GetConfigRequest
-
Returns the md5 of the config definition in the request.
- getRequestDefMd5() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getRequestDefMd5() - Method in interface com.yahoo.vespa.config.protocol.JRTConfigRequest
-
Returns the md5 of the config definition in the request.
- getRequestDefMd5() - Method in interface com.yahoo.vespa.config.protocol.JRTServerConfigRequest
-
Returns the md5 of the config definition in the request.
- getRequestDefMd5() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- getRequestGeneration() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getRequestGeneration() - Method in interface com.yahoo.vespa.config.protocol.JRTConfigRequest
-
Returns the generation of the requested config.
- getRequestGeneration() - Method in interface com.yahoo.vespa.config.protocol.JRTServerConfigRequest
-
Get the current config generation of the client config.
- getRequestGeneration() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- getRequestTrace() - Method in interface com.yahoo.vespa.config.protocol.JRTServerConfigRequest
-
Get the request trace for this request.
- getRequestTrace() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- getResponseData() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getResponseTrace() - Method in interface com.yahoo.vespa.config.protocol.JRTClientConfigRequest
-
Get the
Trace
given in the response by the server. - getResponseTrace() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getShortDescription() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getShortDescription() - Method in interface com.yahoo.vespa.config.protocol.JRTConfigRequest
-
Returns a short hand description of this request.
- getShortDescription() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- getSize() - Method in class com.yahoo.config.subscription.impl.MockConnection
- getSize() - Method in interface com.yahoo.vespa.config.ConnectionPool
- getSize() - Method in class com.yahoo.vespa.config.JRTConnectionPool
- getSlime() - Method in class com.yahoo.vespa.config.ConfigPayload
- getSource() - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
The source used by this subscriber.
- getSource() - Method in class com.yahoo.config.subscription.ConfigURI
- getSources() - Method in class com.yahoo.config.subscription.ConfigSourceSet
-
Returns an unmodifiable set containing all sources in this ConfigSourceSet.
- getStringDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getStructDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getStructMapDefs() - Method in class com.yahoo.vespa.config.ConfigDefinition
- getSubscribeTimeout() - Method in class com.yahoo.vespa.config.TimingValues
-
Returns timeout to use as server timeout when subscribing for the first time.
- getSuccessTimeout() - Method in class com.yahoo.vespa.config.TimingValues
-
Returns timeout to use as server timeout when previous config request was a success.
- getTarget() - Method in class com.yahoo.vespa.config.JRTConnection
-
This is synchronized to avoid multiple ConfigInstances creating new targets simultaneously, if the existing target is null, invalid or has not yet been initialized.
- getTimeout() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getTimeout() - Method in interface com.yahoo.vespa.config.protocol.JRTConfigRequest
-
Returns the server timeout of this request.
- getTimeout() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- getTraceLevel() - Method in class com.yahoo.vespa.config.protocol.Trace
- getType() - Method in class com.yahoo.vespa.config.ConfigDefinition.TypeSpec
- getTypeSpec() - Method in class com.yahoo.vespa.config.ConfigDefinition.ArrayDef
- getTypeSpec() - Method in class com.yahoo.vespa.config.ConfigDefinition.LeafMapDef
- getUncompressedSize() - Method in class com.yahoo.vespa.config.protocol.CompressionInfo
- getValue() - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder
-
Get the value of this field, if any.
- getVespaVersion() - Method in interface com.yahoo.vespa.config.GetConfigRequest
-
Get Vespa version for this GetConfigRequest
- getVespaVersion() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- getVespaVersion() - Method in interface com.yahoo.vespa.config.protocol.JRTConfigRequest
-
Returns the Vespa version of the client that initiated the request
- getVespaVersion() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- getVespaVersion() - Method in class com.yahoo.vespa.config.RawConfig
- getXxhash64(AbstractUtf8Array) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
- getXxhash64(ConfigPayload) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
- getXxhash64(ByteBuffer) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
H
- handleRequestDone(Request) - Method in class com.yahoo.config.subscription.impl.JRTConfigRequester
- hasEqualConfig(JRTServerConfigRequest) - Method in interface com.yahoo.vespa.config.protocol.ConfigResponse
- hasEqualConfig(JRTServerConfigRequest) - Method in class com.yahoo.vespa.config.RawConfig
-
Returns true if this config is equal to the config (same payload md5) in the given request.
- hashCode() - Method in class com.yahoo.config.subscription.ConfigSourceSet
- hashCode() - Method in class com.yahoo.vespa.config.ConfigCacheKey
- hashCode() - Method in class com.yahoo.vespa.config.ConfigDefinitionKey
- hashCode() - Method in class com.yahoo.vespa.config.ConfigKey
- hashCode() - Method in class com.yahoo.vespa.config.JRTConnection
- hashCode() - Method in class com.yahoo.vespa.config.PayloadChecksum
- hashCode() - Method in class com.yahoo.vespa.config.PayloadChecksums
- hashCode() - Method in class com.yahoo.vespa.config.protocol.CompressionInfo
- hashCode() - Method in class com.yahoo.vespa.config.protocol.Payload
- hashCode() - Method in class com.yahoo.vespa.config.protocol.VespaVersion
- hashCode() - Method in class com.yahoo.vespa.config.RawConfig
- hasNewerGeneration(JRTServerConfigRequest) - Method in interface com.yahoo.vespa.config.protocol.ConfigResponse
- hasNewerGeneration(JRTServerConfigRequest) - Method in class com.yahoo.vespa.config.RawConfig
-
Returns true if this config has a more recent generation than the config in the given request.
- hasUpdatedConfig() - Method in interface com.yahoo.vespa.config.protocol.JRTClientConfigRequest
-
Test whether or not the response contains an updated config or not.
- hasUpdatedConfig() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- hasUpdatedGeneration() - Method in interface com.yahoo.vespa.config.protocol.JRTClientConfigRequest
-
Test whether ot not the returned config has an updated generation.
- hasUpdatedGeneration() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- HTTP_ERROR - Static variable in class com.yahoo.vespa.config.UrlDownloader
I
- ILLEGAL_CLIENT_HOSTNAME - Static variable in class com.yahoo.vespa.config.ErrorCode
- ILLEGAL_CONFIG_CHECKSUM - Static variable in class com.yahoo.vespa.config.ErrorCode
- ILLEGAL_CONFIG_MD5 - Static variable in class com.yahoo.vespa.config.ErrorCode
- ILLEGAL_CONFIGID - Static variable in class com.yahoo.vespa.config.ErrorCode
- ILLEGAL_DEF_CHECKSUM - Static variable in class com.yahoo.vespa.config.ErrorCode
- ILLEGAL_DEF_MD5 - Static variable in class com.yahoo.vespa.config.ErrorCode
- ILLEGAL_GENERATION - Static variable in class com.yahoo.vespa.config.ErrorCode
- ILLEGAL_NAME - Static variable in class com.yahoo.vespa.config.ErrorCode
- ILLEGAL_NAME_SPACE - Static variable in class com.yahoo.vespa.config.ErrorCode
- ILLEGAL_PROTOCOL_VERSION - Static variable in class com.yahoo.vespa.config.ErrorCode
- ILLEGAL_SUB_FLAG - Static variable in class com.yahoo.vespa.config.ErrorCode
- ILLEGAL_TIMEOUT - Static variable in class com.yahoo.vespa.config.ErrorCode
- ILLEGAL_VERSION - Static variable in class com.yahoo.vespa.config.ErrorCode
- INCONSISTENT_CONFIG_MD5 - Static variable in class com.yahoo.vespa.config.ErrorCode
- increment() - Method in interface com.yahoo.vespa.config.GenerationCounter
-
Increment counter and return new value.
- initialize() - Method in class com.yahoo.vespa.config.JRTConnectionPool
- innerArrayDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- INTERNAL_ERROR - Static variable in class com.yahoo.vespa.config.ErrorCode
- INTERNAL_ERROR - Static variable in class com.yahoo.vespa.config.UrlDownloader
- invokeAsync(Request, double, RequestWaiter) - Method in class com.yahoo.config.subscription.impl.MockConnection
- invokeAsync(Request, double, RequestWaiter) - Method in interface com.yahoo.vespa.config.Connection
- invokeAsync(Request, double, RequestWaiter) - Method in class com.yahoo.vespa.config.JRTConnection
- invokeSync(Request, double) - Method in class com.yahoo.config.subscription.impl.MockConnection
- invokeSync(Request, double) - Method in interface com.yahoo.vespa.config.Connection
- invokeSync(Request, double) - Method in class com.yahoo.vespa.config.JRTConnection
- isChanged() - Method in class com.yahoo.config.subscription.ConfigHandle
-
Returns true if: The config generation for the
ConfigSubscriber
that produced this is the first one in its life cycle. - isClosed() - Method in class com.yahoo.config.subscription.ConfigSubscriber
- isConfigChanged() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription.ConfigState
- isConfigChangedAndReset(Long) - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
-
Called from
ConfigSubscriber
when the changed status of this config is propagated to the clients - isDelayedResponse() - Method in interface com.yahoo.vespa.config.protocol.JRTServerConfigRequest
-
Check whether or not this request is delayed.
- isDelayedResponse() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- isEmpty() - Method in class com.yahoo.vespa.config.ConfigPayload
- isEmpty() - Method in class com.yahoo.vespa.config.PayloadChecksum
- isEmpty() - Method in class com.yahoo.vespa.config.PayloadChecksums
- isEmpty() - Method in class com.yahoo.vespa.config.protocol.DefContent
- isError() - Method in interface com.yahoo.vespa.config.protocol.JRTClientConfigRequest
-
Test whether or not the returned request is an error.
- isError() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- isError() - Method in class com.yahoo.vespa.config.RawConfig
-
Convenience method.
- isGenerationChanged() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription.ConfigState
- isGenerationNewer(long, long) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
- isValid() - Method in class com.yahoo.vespa.config.UrlDownloader
J
- JarConfigSubscription<T extends com.yahoo.config.ConfigInstance> - Class in com.yahoo.config.subscription.impl
-
Subscription to use when config id is jar:.../foo.jar[!/pathInJar/]
- JarSource - Class in com.yahoo.config.subscription
-
Source specifying config as a jar file entry
- JarSource(JarFile, String) - Constructor for class com.yahoo.config.subscription.JarSource
-
Creates a new jar source
- JRTClientConfigRequest - Interface in com.yahoo.vespa.config.protocol
-
Interface for config requests used by clients.
- JRTClientConfigRequestV3 - Class in com.yahoo.vespa.config.protocol
-
Represents version 3 config request for config clients.
- JRTClientConfigRequestV3(ConfigKey<?>, String, DefContent, PayloadChecksums, long, long, Trace, CompressionType, Optional<VespaVersion>) - Constructor for class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- JRTConfigRequest - Interface in com.yahoo.vespa.config.protocol
-
Common interface for jrt config requests available both at server and client.
- JRTConfigRequester - Class in com.yahoo.config.subscription.impl
-
This class fetches config payload using JRT, and acts as the callback target.
- JRTConfigRequester(ConnectionPool, TimingValues) - Constructor for class com.yahoo.config.subscription.impl.JRTConfigRequester
-
Only for testing
- JRTConfigRequestFactory - Class in com.yahoo.vespa.config.protocol
-
To hide JRT implementations.
- JRTConfigRequestFactory() - Constructor for class com.yahoo.vespa.config.protocol.JRTConfigRequestFactory
- JRTConfigSubscription<T extends com.yahoo.config.ConfigInstance> - Class in com.yahoo.config.subscription.impl
-
A config subscription for a config instance, gets config using Vespa RPC from a config source (config proxy or config server).
- JRTConfigSubscription(ConfigKey<T>, ConfigSubscriber, ConfigSource, TimingValues) - Constructor for class com.yahoo.config.subscription.impl.JRTConfigSubscription
- JRTConnection - Class in com.yahoo.vespa.config
-
A JRT connection to a config server or config proxy.
- JRTConnection(String, Supervisor) - Constructor for class com.yahoo.vespa.config.JRTConnection
- JRTConnectionPool - Class in com.yahoo.vespa.config
-
A pool of JRT connections to a config source (either a config server or a config proxy).
- JRTConnectionPool(ConfigSourceSet) - Constructor for class com.yahoo.vespa.config.JRTConnectionPool
- JRTConnectionPool(ConfigSourceSet, Supervisor) - Constructor for class com.yahoo.vespa.config.JRTConnectionPool
- JRTManagedConnectionPools - Class in com.yahoo.config.subscription.impl
- JRTManagedConnectionPools() - Constructor for class com.yahoo.config.subscription.impl.JRTManagedConnectionPools
- JRTMethods - Class in com.yahoo.vespa.config
-
Defines methods used for RPC config requests.
- JRTMethods() - Constructor for class com.yahoo.vespa.config.JRTMethods
- JRTServerConfigRequest - Interface in com.yahoo.vespa.config.protocol
-
Interface for config requests at the server end point.
- JRTServerConfigRequestV3 - Class in com.yahoo.vespa.config.protocol
-
The V3 config protocol implemented on the server side.
- JRTServerConfigRequestV3(Request) - Constructor for class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
K
- key - Variable in class com.yahoo.config.subscription.impl.ConfigSubscription
L
- leafMapDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- LoadTester - Class in com.yahoo.vespa.config.benchmark
-
A client for generating load (config requests) against a config server or config proxy.
- log - Static variable in class com.yahoo.config.subscription.impl.ConfigSubscription
- log - Static variable in class com.yahoo.vespa.config.ConfigDefinition
- log - Static variable in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- log - Static variable in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- logDebug(Logger, long, ConfigKey<?>, String) - Static method in class com.yahoo.config.subscription.ConfigDebug
- logDebug(Logger, ConfigInstance.Builder, String, String) - Static method in class com.yahoo.config.subscription.ConfigDebug
- LZ4 - com.yahoo.vespa.config.protocol.CompressionType
- LZ4PayloadCompressor - Class in com.yahoo.vespa.config
-
Wrapper for LZ4 compression that selects compression level based on properties.
- LZ4PayloadCompressor() - Constructor for class com.yahoo.vespa.config.LZ4PayloadCompressor
M
- main(String[]) - Static method in class com.yahoo.vespa.config.benchmark.LoadTester
- main(String[]) - Static method in class com.yahoo.vespa.config.benchmark.StressTester
- major - Static variable in class com.yahoo.vespa.config.VespaVersion
- MapBuilder(ConfigDefinition, String) - Constructor for class com.yahoo.vespa.config.ConfigPayloadBuilder.MapBuilder
- MD5 - com.yahoo.vespa.config.PayloadChecksum.Type
- micro - Static variable in class com.yahoo.vespa.config.VespaVersion
- minor - Static variable in class com.yahoo.vespa.config.VespaVersion
- MockConnection - Class in com.yahoo.config.subscription.impl
-
For unit testing
- MockConnection() - Constructor for class com.yahoo.config.subscription.impl.MockConnection
- MockConnection(MockConnection.ResponseHandler) - Constructor for class com.yahoo.config.subscription.impl.MockConnection
- MockConnection(MockConnection.ResponseHandler, int) - Constructor for class com.yahoo.config.subscription.impl.MockConnection
- MockConnection.AbstractResponseHandler - Class in com.yahoo.config.subscription.impl
- MockConnection.ResponseHandler - Interface in com.yahoo.config.subscription.impl
N
- namePattern - Static variable in class com.yahoo.vespa.config.ConfigDefinition
- namespacePattern - Static variable in class com.yahoo.vespa.config.ConfigDefinition
- newConfigChecksums() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- newGen() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- nextConfig() - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Deprecated.
- nextConfig(boolean) - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Use this for waiting for a new config that has changed.
- nextConfig(long) - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Deprecated.
- nextConfig(long) - Method in class com.yahoo.config.subscription.impl.ConfigSetSubscription
- nextConfig(long) - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
-
Polls this subscription for a change.
- nextConfig(long) - Method in class com.yahoo.config.subscription.impl.FileConfigSubscription
- nextConfig(long) - Method in class com.yahoo.config.subscription.impl.JarConfigSubscription
- nextConfig(long) - Method in class com.yahoo.config.subscription.impl.JRTConfigSubscription
- nextConfig(long) - Method in class com.yahoo.config.subscription.impl.RawConfigSubscription
- nextConfig(long, boolean) - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Use this for waiting for a new config that has changed, with the given timeout.
- nextGeneration() - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Deprecated.
- nextGeneration(boolean) - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Use this for waiting for a new config generation.
- nextGeneration(long) - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Deprecated.
- nextGeneration(long, boolean) - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Use this for waiting for a new config generation, with the given timeout Returns true if: It is the first time nextGeneration() is called on this subscriber, and the framework has fetched config for all subscriptions.
- nextRequest(long) - Method in interface com.yahoo.vespa.config.protocol.JRTClientConfigRequest
-
Create a new
JRTClientConfigRequest
based on this request based on the same request parameters, but having the timeout changed. - nextRequest(long) - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- noCache() - Method in interface com.yahoo.vespa.config.GetConfigRequest
-
Whether or not the config can be retrieved from or stored in a cache.
- noCache() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
O
- OPEN - com.yahoo.config.subscription.ConfigSubscriber.State
- OUTDATED_CONFIG - Static variable in class com.yahoo.vespa.config.ErrorCode
- override(ConfigPayloadBuilder) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder
- override(ConfigPayloadBuilder.Array) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder.Array
P
- parse(String) - Static method in enum com.yahoo.vespa.config.protocol.CompressionType
- payload - Variable in class com.yahoo.config.subscription.RawSource
- Payload - Class in com.yahoo.vespa.config.protocol
-
An immutable config payload
- PayloadChecksum - Class in com.yahoo.vespa.config
-
Checksums of config definition payload or config payload, md5 and xxhash64 are the supported types at the moment.
- PayloadChecksum(String, PayloadChecksum.Type) - Constructor for class com.yahoo.vespa.config.PayloadChecksum
- PayloadChecksum.Type - Enum in com.yahoo.vespa.config
- PayloadChecksums - Class in com.yahoo.vespa.config
-
Checksums for config payload, typically 1 for each PayloadChecksum type (md5 and xxhash64).
- payloadFromResponse(ConfigResponse) - Method in interface com.yahoo.vespa.config.protocol.JRTServerConfigRequest
-
Extract the appropriate payload for this request type for a given config response.
- payloadFromResponse(ConfigResponse) - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- put(String) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder.MapBuilder
- put(String, String) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder.MapBuilder
R
- RawConfig - Class in com.yahoo.vespa.config
-
Encapsulates config, usually associated with a
JRTConfigRequest
. - RawConfig(ConfigKey<?>, String) - Constructor for class com.yahoo.vespa.config.RawConfig
-
Constructor for an empty config (not yet resolved).
- RawConfig(ConfigKey<?>, String, Payload, PayloadChecksums, long, boolean, int, List<String>, Optional<VespaVersion>) - Constructor for class com.yahoo.vespa.config.RawConfig
- RawConfig(ConfigKey<?>, String, Payload, PayloadChecksums, long, boolean, List<String>, Optional<VespaVersion>) - Constructor for class com.yahoo.vespa.config.RawConfig
- RawConfig(RawConfig) - Constructor for class com.yahoo.vespa.config.RawConfig
-
Copy constructor
- RawConfigSubscription<T extends com.yahoo.config.ConfigInstance> - Class in com.yahoo.config.subscription.impl
-
Subscription used when config id is raw:...
- RawSource - Class in com.yahoo.config.subscription
-
Source specifying raw config, where payload is given programmatically
- RawSource(String) - Constructor for class com.yahoo.config.subscription.RawSource
-
New source with the given payload on Vespa cfg format
- release(ConfigSourceSet) - Method in class com.yahoo.config.subscription.impl.JRTManagedConnectionPools
- reload(long) - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Sets all subscriptions under this subscriber to have the given generation.
- reload(long) - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
-
Force this into the given generation, used in testing
- reload(long) - Method in class com.yahoo.config.subscription.impl.JRTConfigSubscription
- removeChecksumsOfType(PayloadChecksum.Type) - Method in class com.yahoo.vespa.config.PayloadChecksums
- request - Variable in class com.yahoo.config.subscription.impl.MockConnection.AbstractResponseHandler
- request - Variable in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- request - Variable in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- request() - Method in class com.yahoo.config.subscription.impl.MockConnection.AbstractResponseHandler
- request() - Method in interface com.yahoo.config.subscription.impl.MockConnection.ResponseHandler
- request(JRTConfigSubscription<T>) - Method in class com.yahoo.config.subscription.impl.JRTConfigRequester
-
Requests the config for the
ConfigInstance
on the givenConfigSubscription
- request(Request) - Method in class com.yahoo.config.subscription.impl.MockConnection.AbstractResponseHandler
- request(Request) - Method in interface com.yahoo.config.subscription.impl.MockConnection.ResponseHandler
- requestData - Variable in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- requester() - Method in class com.yahoo.config.subscription.impl.JRTConfigSubscription
- requesters - Variable in class com.yahoo.config.subscription.ConfigSubscriber
-
Reuse requesters for equal source sets, limit number if many subscriptions.
- requesters() - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Implementation detail, do not use.
- RequestValidation - Class in com.yahoo.vespa.config.protocol
-
Static utility methods for verifying common request properties.
- RequestValidation() - Constructor for class com.yahoo.vespa.config.protocol.RequestValidation
- requestWaiter() - Method in class com.yahoo.config.subscription.impl.MockConnection.AbstractResponseHandler
- requestWaiter() - Method in interface com.yahoo.config.subscription.impl.MockConnection.ResponseHandler
- requestWaiter(RequestWaiter) - Method in class com.yahoo.config.subscription.impl.MockConnection.AbstractResponseHandler
- requestWaiter(RequestWaiter) - Method in interface com.yahoo.config.subscription.impl.MockConnection.ResponseHandler
- resolve(Cursor) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder.Array
- resolve(Cursor) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder.MapBuilder
- resolve(Cursor) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder
-
Create slime tree from this builder.
- responseIsApplyOnRestart() - Method in interface com.yahoo.vespa.config.protocol.JRTClientConfigRequest
-
Returns true if this config should only be applied at the last restart, false if it should be applied immediately
- responseIsApplyOnRestart() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- run() - Method in class com.yahoo.config.subscription.impl.MockConnection.AbstractResponseHandler
- run() - Method in class com.yahoo.vespa.config.benchmark.StressTester.RpcServer
S
- serialize(boolean) - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- serialize(double) - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- serialize(int) - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- serialize(long) - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- serialize(JsonGenerator) - Method in class com.yahoo.vespa.config.protocol.CompressionInfo
- serialize(Cursor) - Method in class com.yahoo.vespa.config.protocol.DefContent
- serialize(Cursor) - Method in class com.yahoo.vespa.config.protocol.Trace
- serialize(OutputStream, SlimeFormat) - Method in class com.yahoo.vespa.config.ConfigPayload
- serialize(OutputStream, CompressionType) - Method in interface com.yahoo.vespa.config.protocol.ConfigResponse
- serialize(OutputStream, CompressionType) - Method in class com.yahoo.vespa.config.protocol.SlimeConfigResponse
- serialize(String) - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- serialize(String, boolean) - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- serialize(String, double) - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- serialize(String, int) - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- serialize(String, long) - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- serialize(String, String) - Method in class com.yahoo.config.subscription.ConfigInstanceSerializer
- set(int) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder.Array
-
Set Create a payload object for the given index and return it.
- set(int, String) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder.Array
-
Set the value of array element index to value
- setApplyOnRestart(boolean) - Method in class com.yahoo.vespa.config.RawConfig
- setConfigIfChanged(T) - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
- setConfigIncGen(T) - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
-
Used by
FileConfigSubscription
andConfigSetSubscription
- setDelayedResponse(boolean) - Method in interface com.yahoo.vespa.config.protocol.JRTServerConfigRequest
-
Notify this request that its delayed due to no new config being available at this point.
- setDelayedResponse(boolean) - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- setException(RuntimeException) - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
-
Called by for example network threads to signal that the user thread should throw this exception immediately
- setField(String, String) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder
-
Set the value of a config field.
- setFixedDelay(long) - Method in class com.yahoo.vespa.config.TimingValues
- setGeneration(long) - Method in class com.yahoo.vespa.config.RawConfig
- setIndex(Integer) - Method in class com.yahoo.vespa.config.ConfigDefinition.TypeSpec
- setNewConfig(JRTClientConfigRequest) - Method in class com.yahoo.config.subscription.impl.GenericJRTConfigSubscription
- setNewConfig(JRTClientConfigRequest) - Method in class com.yahoo.config.subscription.impl.JRTConfigSubscription
- setNewConfigAndGeneration(JRTClientConfigRequest) - Method in class com.yahoo.config.subscription.impl.GenericJRTConfigSubscription
- setNewConfigAndGeneration(JRTClientConfigRequest) - Method in class com.yahoo.config.subscription.impl.JRTConfigSubscription
- setPathAcquirer(ConfigTransformer.PathAcquirer) - Static method in class com.yahoo.vespa.config.ConfigTransformer
-
For internal use only *
- setResponseField(JsonGenerator, String, boolean) - Static method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- setResponseField(JsonGenerator, String, long) - Static method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- setResponseField(JsonGenerator, String, String) - Static method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- setSubscribeTimeout(long) - Method in class com.yahoo.vespa.config.TimingValues
- setTypeSpec(ConfigDefinition.TypeSpec) - Method in class com.yahoo.vespa.config.ConfigDefinition.ArrayDef
- setTypeSpec(ConfigDefinition.TypeSpec) - Method in class com.yahoo.vespa.config.ConfigDefinition.LeafMapDef
- setUp() - Method in class com.yahoo.vespa.config.benchmark.StressTester.RpcServer
-
Set up RPC method handlers.
- setUrlDownloader(UrlDownloader) - Static method in class com.yahoo.vespa.config.ConfigTransformer
- setValue(String) - Method in class com.yahoo.vespa.config.ConfigPayloadBuilder
- setValues(BUILDER, BUILDER) - Static method in class com.yahoo.config.subscription.ConfigInstanceUtil
-
Copies all values that have been explicitly set on the source to the destination.
- shouldTrace(int) - Method in class com.yahoo.vespa.config.protocol.Trace
- shutdown() - Method in class com.yahoo.vespa.config.benchmark.StressTester.RpcServer
- shutdown() - Method in class com.yahoo.vespa.config.UrlDownloader
- SlimeConfigResponse - Class in com.yahoo.vespa.config.protocol
-
Class for serializing config responses based on
Slime
implementing theConfigResponse
interface. - SlimeConfigResponse(AbstractUtf8Array, long, boolean, PayloadChecksums, CompressionInfo) - Constructor for class com.yahoo.vespa.config.protocol.SlimeConfigResponse
- SlimeTraceDeserializer - Class in com.yahoo.vespa.config.protocol
-
Deserializing from a
Inspector
(slime) representation to aTraceNode
- SlimeTraceDeserializer(Inspector) - Constructor for class com.yahoo.vespa.config.protocol.SlimeTraceDeserializer
- SlimeTraceSerializer - Class in com.yahoo.vespa.config.protocol
-
Serialize a
TraceNode
toSlime
. - SlimeTraceSerializer(Cursor) - Constructor for class com.yahoo.vespa.config.protocol.SlimeTraceSerializer
- startConfigThread(Runnable) - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Convenience method to start a daemon thread called "Vespa config thread" with the given runnable.
- state() - Method in class com.yahoo.config.subscription.ConfigSubscriber
- stop() - Method in class com.yahoo.vespa.config.benchmark.StressTester
- StressTester - Class in com.yahoo.vespa.config.benchmark
-
/** A class for stress-testing config server and config proxy.
- StressTester(String) - Constructor for class com.yahoo.vespa.config.benchmark.StressTester
- StressTester.RpcServer - Class in com.yahoo.vespa.config.benchmark
- stripSpaces(String) - Static method in class com.yahoo.vespa.config.util.ConfigUtils
-
Replaces sequences of spaces with 1 space, unless inside quotes.
- structDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- structMapDef(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- subscribe() - Method in interface com.yahoo.vespa.config.benchmark.Tester
- subscribe(long) - Method in class com.yahoo.config.subscription.impl.ConfigSetSubscription
- subscribe(long) - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
-
Will block until the next
ConfigSubscription.nextConfig(long)
is guaranteed to return an answer (or throw) immediately (i.e. - subscribe(long) - Method in class com.yahoo.config.subscription.impl.FileConfigSubscription
- subscribe(long) - Method in class com.yahoo.config.subscription.impl.JarConfigSubscription
- subscribe(long) - Method in class com.yahoo.config.subscription.impl.JRTConfigSubscription
- subscribe(long) - Method in class com.yahoo.config.subscription.impl.RawConfigSubscription
- subscribe(ConfigSubscriber.SingleSubscriber<T>, Class<T>, String) - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Use this convenience method if you only want to subscribe on one config, and want generic error handling.
- subscribe(ConfigSubscriber.SingleSubscriber<T>, Class<T>, String) - Method in class com.yahoo.config.subscription.impl.GenericConfigSubscriber
- subscribe(ConfigKey<RawConfig>, List<String>, ConfigSource, TimingValues) - Method in class com.yahoo.config.subscription.impl.GenericConfigSubscriber
-
Subscribes to config without using the class.
- subscribe(Class<T>, String) - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Subscribes on the given type of
ConfigInstance
with the given config id. - subscribe(Class<T>, String) - Method in class com.yahoo.config.subscription.impl.GenericConfigSubscriber
- subscribe(Class<T>, String, long) - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
Subscribes on the given type of
ConfigInstance
with the given config id and subscribe timeout. - subscribe(Class<T>, String, long) - Method in class com.yahoo.config.subscription.impl.GenericConfigSubscriber
- subscribeAndHandleErrors(ConfigSubscription<?>, ConfigKey<?>, ConfigHandle<?>, TimingValues) - Method in class com.yahoo.config.subscription.ConfigSubscriber
- subscriber - Variable in class com.yahoo.config.subscription.impl.ConfigSubscription
- subscriptionHandles - Variable in class com.yahoo.config.subscription.ConfigSubscriber
- supervisor - Variable in class com.yahoo.vespa.config.benchmark.LoadTester
- supervisor - Variable in class com.yahoo.vespa.config.benchmark.StressTester.RpcServer
- switchConnection(Connection) - Method in class com.yahoo.config.subscription.impl.MockConnection
- switchConnection(Connection) - Method in interface com.yahoo.vespa.config.ConnectionPool
-
Switches to another (healthy, if one exists) Connection instance.
- switchConnection(Connection) - Method in class com.yahoo.vespa.config.JRTConnectionPool
T
- Tester - Interface in com.yahoo.vespa.config.benchmark
-
Tester interface for loadable test runners.
- throwIfExceptionSet(ConfigSubscription<? extends ConfigInstance>) - Method in class com.yahoo.config.subscription.ConfigSubscriber
-
If a
ConfigSubscription
has its exception set, reset that field and throw it - timingValues() - Method in class com.yahoo.config.subscription.impl.JRTConfigSubscription
-
The timing values of this
- TimingValues - Class in com.yahoo.vespa.config
-
Timeouts, delays and retries used in RPC config protocol.
- TimingValues() - Constructor for class com.yahoo.vespa.config.TimingValues
- TimingValues(long, long, long, long, long) - Constructor for class com.yahoo.vespa.config.TimingValues
- TimingValues(TimingValues, Random) - Constructor for class com.yahoo.vespa.config.TimingValues
- toConfigBuilder(ConfigPayload) - Method in class com.yahoo.vespa.config.ConfigTransformer
-
Create a ConfigBuilder from a payload, based on the
clazz
supplied. - toInstance(Class<ConfigType>, String) - Method in class com.yahoo.vespa.config.ConfigPayload
- toString() - Method in class com.yahoo.config.subscription.ConfigHandle
- toString() - Method in class com.yahoo.config.subscription.ConfigSet
- toString() - Method in class com.yahoo.config.subscription.ConfigSourceSet
- toString() - Method in class com.yahoo.config.subscription.ConfigSubscriber
- toString() - Method in class com.yahoo.config.subscription.impl.ConfigSubscription
- toString() - Method in class com.yahoo.vespa.config.ConfigCacheKey
- toString() - Method in class com.yahoo.vespa.config.ConfigDefinition
- toString() - Method in class com.yahoo.vespa.config.ConfigDefinitionKey
- toString() - Method in class com.yahoo.vespa.config.ConfigKey
- toString() - Method in class com.yahoo.vespa.config.ConfigPayload
- toString() - Method in class com.yahoo.vespa.config.JRTConnection
- toString() - Method in class com.yahoo.vespa.config.JRTConnectionPool
- toString() - Method in class com.yahoo.vespa.config.PayloadChecksum
- toString() - Method in class com.yahoo.vespa.config.PayloadChecksums
- toString() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- toString() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- toString() - Method in class com.yahoo.vespa.config.protocol.Payload
- toString() - Method in class com.yahoo.vespa.config.protocol.SlimeConfigResponse
- toString() - Method in class com.yahoo.vespa.config.protocol.Trace
- toString() - Method in class com.yahoo.vespa.config.protocol.VespaVersion
- toString() - Method in class com.yahoo.vespa.config.RawConfig
- toString() - Method in class com.yahoo.vespa.config.TimingValues
- toString(boolean) - Method in class com.yahoo.vespa.config.ConfigPayload
- toString(boolean) - Method in class com.yahoo.vespa.config.protocol.Trace
- toUtf8Array(boolean) - Method in class com.yahoo.vespa.config.ConfigPayload
- trace(int, String) - Method in class com.yahoo.vespa.config.protocol.Trace
- Trace - Class in com.yahoo.vespa.config.protocol
-
A trace utility that can serialize/deserialize to/from
Slime
- type() - Method in class com.yahoo.vespa.config.PayloadChecksum
- TypeSpec(String, String, Object, String, Object, Object) - Constructor for class com.yahoo.vespa.config.ConfigDefinition.TypeSpec
U
- uncompressed() - Static method in class com.yahoo.vespa.config.protocol.CompressionInfo
- UNCOMPRESSED - com.yahoo.vespa.config.protocol.CompressionType
- UNKNOWN_CONFIG - Static variable in class com.yahoo.vespa.config.ErrorCode
- UNKNOWN_DEF_CHECKSUM - Static variable in class com.yahoo.vespa.config.ErrorCode
- UNKNOWN_DEF_MD5 - Static variable in class com.yahoo.vespa.config.ErrorCode
- UNKNOWN_DEFINITION - Static variable in class com.yahoo.vespa.config.ErrorCode
- UNKNOWN_VESPA_VERSION - Static variable in class com.yahoo.vespa.config.ErrorCode
- UnknownConfigIdException - Exception in com.yahoo.vespa.config
-
Used when a config model does not recognize a config id
- UnknownConfigIdException(String) - Constructor for exception com.yahoo.vespa.config.UnknownConfigIdException
- updateSources(ConfigSourceSet) - Method in class com.yahoo.vespa.config.JRTConnectionPool
- updateSources(List<String>) - Method in class com.yahoo.vespa.config.JRTConnectionPool
- UrlDownloader - Class in com.yahoo.vespa.config
- UrlDownloader() - Constructor for class com.yahoo.vespa.config.UrlDownloader
V
- valid() - Method in class com.yahoo.vespa.config.PayloadChecksum
- valid() - Method in class com.yahoo.vespa.config.PayloadChecksums
- validateParameters() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- validateParameters() - Method in interface com.yahoo.vespa.config.protocol.JRTConfigRequest
-
Performs request parameter validation of this config request.
- validateParameters() - Method in class com.yahoo.vespa.config.protocol.JRTServerConfigRequestV3
- validateRequest(JRTConfigRequest) - Static method in class com.yahoo.vespa.config.protocol.RequestValidation
- validateResponse() - Method in interface com.yahoo.vespa.config.protocol.JRTClientConfigRequest
-
Validate config response given by the server.
- validateResponse() - Method in class com.yahoo.vespa.config.protocol.JRTClientConfigRequestV3
- valueOf(String) - Static method in enum com.yahoo.config.subscription.ConfigSubscriber.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.yahoo.vespa.config.PayloadChecksum.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.yahoo.vespa.config.protocol.CompressionType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.yahoo.config.subscription.ConfigSubscriber.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.yahoo.vespa.config.PayloadChecksum.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.yahoo.vespa.config.protocol.CompressionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verify(long, long, String) - Method in class com.yahoo.vespa.config.benchmark.StressTester
- verify(String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- verify(String, int) - Method in class com.yahoo.vespa.config.ConfigDefinition.ArrayDef
- verify(String, String) - Method in class com.yahoo.vespa.config.ConfigDefinition
- verify(Map<String, Map<String, String>>, long) - Method in interface com.yahoo.vespa.config.benchmark.Tester
- verifyName(String) - Static method in class com.yahoo.vespa.config.protocol.RequestValidation
- verifyTimeout(Long) - Static method in class com.yahoo.vespa.config.protocol.RequestValidation
- VersionComparator() - Constructor for class com.yahoo.vespa.config.ConfigDefinition.VersionComparator
- VespaVersion - Class in com.yahoo.vespa.config.protocol
-
A wrapper class for Vespa version
- VespaVersion - Class in com.yahoo.vespa.config
- VespaVersion() - Constructor for class com.yahoo.vespa.config.VespaVersion
- visit(TraceNode) - Method in class com.yahoo.vespa.config.protocol.SlimeTraceSerializer
W
- waitFor(UrlReference, long) - Method in class com.yahoo.vespa.config.UrlDownloader
- withCompression(CompressionType) - Method in class com.yahoo.vespa.config.protocol.Payload
-
Returns a copy of this payload where the data is compressed using the given compression
X
- XXHASH64 - com.yahoo.vespa.config.PayloadChecksum.Type
All Classes All Packages