Module org.elasticsearch.xcore
Class StartTrainedModelDeploymentAction
java.lang.Object
org.elasticsearch.action.ActionType<CreateTrainedModelAssignmentAction.Response>
org.elasticsearch.xpack.core.ml.action.StartTrainedModelDeploymentAction
public class StartTrainedModelDeploymentAction
extends ActionType<CreateTrainedModelAssignmentAction.Response>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interfacestatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final Prioritystatic final intstatic final org.elasticsearch.core.TimeValuestatic final AllocationStatus.Statestatic final StartTrainedModelDeploymentActionstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longestimateMemoryUsageBytes(String modelId, long totalDefinitionLength, long perDeploymentMemoryBytes, long perAllocationMemoryBytes, int numberOfAllocations)
-
Field Details
-
INSTANCE
-
NAME
- See Also:
-
DEFAULT_TIMEOUT
public static final org.elasticsearch.core.TimeValue DEFAULT_TIMEOUT -
DEFAULT_WAITFOR_STATE
-
DEFAULT_NUM_ALLOCATIONS
public static final int DEFAULT_NUM_ALLOCATIONS- See Also:
-
DEFAULT_NUM_THREADS
public static final int DEFAULT_NUM_THREADS- See Also:
-
DEFAULT_QUEUE_CAPACITY
public static final int DEFAULT_QUEUE_CAPACITY- See Also:
-
DEFAULT_PRIORITY
-
-
Constructor Details
-
StartTrainedModelDeploymentAction
public StartTrainedModelDeploymentAction()
-
-
Method Details
-
estimateMemoryUsageBytes
public static long estimateMemoryUsageBytes(String modelId, long totalDefinitionLength, long perDeploymentMemoryBytes, long perAllocationMemoryBytes, int numberOfAllocations)
-