Package org.cloudsimplus.traces.google
Enum Class MissingInfo
- All Implemented Interfaces:
Serializable
,Comparable<MissingInfo>
,Constable
Defines the type of information missing in a
GoogleTaskEventsTraceReader
trace file.
It represents the possible values for the MISSING_INFO field.- Since:
- CloudSim Plus 4.0.0
- Author:
- Manoel Campos da Silva Filho
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription2: Means Google Clusters did not find a record representing the creation of the given task or job.1: Means Google Clusters did not find a record representing the given termination event, but the job or task disappeared from later snapshots of cluster states, so it must have been terminated.0: Means Google Clusters did not find a record representing the given event, but a later snapshot of the job or task state indicated that the transition must have occurred. -
Method Summary
Modifier and TypeMethodDescriptionstatic MissingInfo
Returns the enum constant of this class with the specified name.static MissingInfo[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SNAPSHOT_BUT_NO_TRANSITION
0: Means Google Clusters did not find a record representing the given event, but a later snapshot of the job or task state indicated that the transition must have occurred. The timestamp of the synthesized event is the timestamp of the snapshot. -
NO_SNAPSHOT_OR_TRANSITION
1: Means Google Clusters did not find a record representing the given termination event, but the job or task disappeared from later snapshots of cluster states, so it must have been terminated. The timestamp of the synthesized event is a pessimistic upper bound on its actual termination time assuming it could have legitimately been missing from one snapshot. -
EXISTS_BUT_NO_CREATION
2: Means Google Clusters did not find a record representing the creation of the given task or job. In this case, we may be missing metadata (job name, resource requests, etc.) about the job or task. Therefore, we may have placed SCHEDULE or SUBMIT events latter than they actually are.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-