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 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.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.
-
-