Class ClearTrainedModelDeploymentCacheRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.ClearTrainedModelDeploymentCacheRequest
Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned. A trained model deployment may have an inference cache enabled. As requests are handled by each allocated node, their responses may be cached on that individual node. Calling this API clears the caches without restarting the deployment.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder forClearTrainedModelDeploymentCacheRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<ClearTrainedModelDeploymentCacheRequest,
ClearTrainedModelDeploymentCacheResponse, ErrorResponse> Endpoint "ml.clear_trained_model_deployment_cache
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
modelId()
Required - The unique identifier of the trained model.of
(Function<ClearTrainedModelDeploymentCacheRequest.Builder, ObjectBuilder<ClearTrainedModelDeploymentCacheRequest>> fn) Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<ClearTrainedModelDeploymentCacheRequest,ClearTrainedModelDeploymentCacheResponse, _ENDPOINTErrorResponse> Endpoint "ml.clear_trained_model_deployment_cache
".
-
-
Method Details
-
of
-
modelId
Required - The unique identifier of the trained model.API name:
model_id
-