Class ClearTrainedModelDeploymentCacheRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.ClearTrainedModelDeploymentCacheRequest
public class ClearTrainedModelDeploymentCacheRequest extends RequestBase
Clears a trained model deployment cache 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:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClearTrainedModelDeploymentCacheRequest.BuilderBuilder forClearTrainedModelDeploymentCacheRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<ClearTrainedModelDeploymentCacheRequest,ClearTrainedModelDeploymentCacheResponse,ErrorResponse>_ENDPOINTEndpoint "ml.clear_trained_model_deployment_cache". -
Method Summary
Modifier and Type Method Description java.lang.StringmodelId()The unique identifier of the trained model.static ClearTrainedModelDeploymentCacheRequestof(java.util.function.Function<ClearTrainedModelDeploymentCacheRequest.Builder,ObjectBuilder<ClearTrainedModelDeploymentCacheRequest>> fn)Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<ClearTrainedModelDeploymentCacheRequest,ClearTrainedModelDeploymentCacheResponse,ErrorResponse> _ENDPOINTEndpoint "ml.clear_trained_model_deployment_cache".
-
-
Method Details
-
of
public static ClearTrainedModelDeploymentCacheRequest of(java.util.function.Function<ClearTrainedModelDeploymentCacheRequest.Builder,ObjectBuilder<ClearTrainedModelDeploymentCacheRequest>> fn) -
modelId
@Nullable public final java.lang.String modelId()The unique identifier of the trained model.API name:
model_id
-