Enum Class ModelSizeStats.AssignmentMemoryBasis

java.lang.Object
java.lang.Enum<ModelSizeStats.AssignmentMemoryBasis>
org.elasticsearch.xpack.core.ml.job.process.autodetect.state.ModelSizeStats.AssignmentMemoryBasis
All Implemented Interfaces:
Serializable, Comparable<ModelSizeStats.AssignmentMemoryBasis>, Constable, Writeable
Enclosing class:
ModelSizeStats

public static enum ModelSizeStats.AssignmentMemoryBasis extends Enum<ModelSizeStats.AssignmentMemoryBasis> implements Writeable
Where will we get the memory requirement from when assigning this job to a node? There are three possibilities: 1. The job's model_memory_limit 2. The current model memory, i.e. what's reported in model_bytes of this object 3. The peak model memory, i.e. what's reported in peak_model_bytes of this object The field storing this enum can also be null, which means the assignment code will decide on the fly - this was the old behaviour prior to 7.11.