Class LoadTypeSet
java.lang.Object
com.yahoo.documentapi.messagebus.loadtypes.LoadTypeSet
Deprecated, for removal: This API element is subject to removal in a future version.
load types are deprecated
This class keeps track of all configured load types.
For production use, you should only use the String constructor,
and supply a valid config id. Only the load types configured will
be propagated throughout the system, so there is no point in using other
load types.
For testing, you may want to use the empty constructor and add
load types yourself with addType().
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LoadTypeSet
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.LoadTypeSet
(com.yahoo.vespa.config.content.LoadTypeConfig loadTypeConfig) Deprecated, for removal: This API element is subject to removal in a future version.LoadTypeSet
(String configId) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLoadType
(int id, String name, DocumentProtocol.Priority priority) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.Used by config to generate priorities for a name, and add them to the load type set.void
configure
(com.yahoo.vespa.config.content.LoadTypeConfig config) Deprecated, for removal: This API element is subject to removal in a future version.getIdMap()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
EMPTY
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
LoadTypeSet
public LoadTypeSet()Deprecated, for removal: This API element is subject to removal in a future version. -
LoadTypeSet
Deprecated, for removal: This API element is subject to removal in a future version. -
LoadTypeSet
public LoadTypeSet(com.yahoo.vespa.config.content.LoadTypeConfig loadTypeConfig) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getNameMap
Deprecated, for removal: This API element is subject to removal in a future version. -
getIdMap
Deprecated, for removal: This API element is subject to removal in a future version. -
addType
Deprecated, for removal: This API element is subject to removal in a future version.Used by config to generate priorities for a name, and add them to the load type set. -
addLoadType
Deprecated, for removal: This API element is subject to removal in a future version. -
configure
public void configure(com.yahoo.vespa.config.content.LoadTypeConfig config) Deprecated, for removal: This API element is subject to removal in a future version.
-