Package com.yahoo.vespa.config
Interface GetConfigRequest
-
- All Known Subinterfaces:
JRTServerConfigRequest
- All Known Implementing Classes:
JRTServerConfigRequestV3
public interface GetConfigRequest
Interface for getConfig requests.- Author:
- Ulf Lilleengen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PayloadChecksums
configPayloadChecksums()
Returns the payload checksums from the config request.ConfigKey<?>
getConfigKey()
Returns the ConfigKey for this request.DefContent
getDefContent()
The def file contents in the request, or empty array if not sent/not supportedjava.lang.String
getRequestDefMd5()
Returns the md5 of the config definition in the request.java.util.Optional<VespaVersion>
getVespaVersion()
Get Vespa version for this GetConfigRequestboolean
noCache()
Whether or not the config can be retrieved from or stored in a cache.
-
-
-
Method Detail
-
getConfigKey
ConfigKey<?> getConfigKey()
Returns the ConfigKey for this request.- Returns:
- the ConfigKey for this config request
-
getDefContent
DefContent getDefContent()
The def file contents in the request, or empty array if not sent/not supported- Returns:
- the contents (payload) of the def schema
-
getVespaVersion
java.util.Optional<VespaVersion> getVespaVersion()
Get Vespa version for this GetConfigRequest
-
noCache
boolean noCache()
Whether or not the config can be retrieved from or stored in a cache.- Returns:
- true if content should _not_ be cached, false if it should.
-
getRequestDefMd5
java.lang.String getRequestDefMd5()
Returns the md5 of the config definition in the request.- Returns:
- an md5 of config definition in request.
-
configPayloadChecksums
PayloadChecksums configPayloadChecksums()
Returns the payload checksums from the config request.- Returns:
- the payload checksums from request.
-
-