Enum Class GoogleTaskUsageTraceReader.FieldIndex

java.lang.Object
java.lang.Enum<GoogleTaskUsageTraceReader.FieldIndex>
org.cloudsimplus.traces.google.GoogleTaskUsageTraceReader.FieldIndex
All Implemented Interfaces:
Serializable, Comparable<GoogleTaskUsageTraceReader.FieldIndex>, Constable, TraceField<GoogleTaskUsageTraceReader>
Enclosing class:
GoogleTaskUsageTraceReader

public static enum GoogleTaskUsageTraceReader.FieldIndex extends Enum<GoogleTaskUsageTraceReader.FieldIndex> implements TraceField<GoogleTaskUsageTraceReader>
The index of each field in the trace file.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    7: The index of the field containing the assigned memory usage, i.e., memory usage based on the memory actually assigned (but not necessarily used) to the container where the task was running inside the Google Cluster.
    6: The index of the field containing the canonical memory usage, i.e., the number of user accessible pages, including page cache but excluding some pages marked as stale.
    1: The index of the field containing the end time​ of the measurement period (stored in microsecond but converted to seconds when read from the file).
    2: The index of the field containing the id of the job this task belongs to.
    4: The index of the field containing the machineID.
    13: The index of the field containing the maximum CPU usage observed over the measurement interval.
    14: The index of the field containing the maximum disk IO time observed over the measurement interval.
    10: The index of the field containing the maximum memory usage, i.e., the maximum value of the canonical memory usage measurement observed over the measurement interval.
    5: The index of the field containing the mean CPU usage rate (in percentage from 0 to 1).
    11: The index of the field containing the mean disk I/O time.
    12: The index of the field containing the mean local disk space used.
    0: The index of the field containing the start time​ of the measurement period (stored in microsecond but converted to seconds when read from the file).
    3: The index of the field containing the task index within the job.
    9: The index of the field containing the total page cache memory usage, i.e., the total Linux page cache (file-backed memory).
    8: The index of the field containing the unmapped page cache memory usage, i.e., Linux page cache (file-backed memory) not mapped into any userspace process.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.cloudsimplus.traces.google.TraceField

    getValue
  • Enum Constant Details

    • START_TIME

      public static final GoogleTaskUsageTraceReader.FieldIndex START_TIME
      0: The index of the field containing the start time​ of the measurement period (stored in microsecond but converted to seconds when read from the file).
    • END_TIME

      public static final GoogleTaskUsageTraceReader.FieldIndex END_TIME
      1: The index of the field containing the end time​ of the measurement period (stored in microsecond but converted to seconds when read from the file).
    • JOB_ID

      public static final GoogleTaskUsageTraceReader.FieldIndex JOB_ID
      2: The index of the field containing the id of the job this task belongs to.
    • TASK_INDEX

      public static final GoogleTaskUsageTraceReader.FieldIndex TASK_INDEX
      3: The index of the field containing the task index within the job.
    • MACHINE_ID

      public static final GoogleTaskUsageTraceReader.FieldIndex MACHINE_ID
      4: The index of the field containing the machineID. If the field is present, indicates the machine onto which the task was scheduled, otherwise, the reader will return -1 as default value.
    • MEAN_CPU_USAGE_RATE

      public static final GoogleTaskUsageTraceReader.FieldIndex MEAN_CPU_USAGE_RATE
      5: The index of the field containing the mean CPU usage rate (in percentage from 0 to 1).
    • CANONICAL_MEMORY_USAGE

      public static final GoogleTaskUsageTraceReader.FieldIndex CANONICAL_MEMORY_USAGE
      6: The index of the field containing the canonical memory usage, i.e., the number of user accessible pages, including page cache but excluding some pages marked as stale.
    • ASSIGNED_MEMORY_USAGE

      public static final GoogleTaskUsageTraceReader.FieldIndex ASSIGNED_MEMORY_USAGE
      7: The index of the field containing the assigned memory usage, i.e., memory usage based on the memory actually assigned (but not necessarily used) to the container where the task was running inside the Google Cluster.
    • UNMAPPED_PAGE_CACHE_MEMORY_USAGE

      public static final GoogleTaskUsageTraceReader.FieldIndex UNMAPPED_PAGE_CACHE_MEMORY_USAGE
      8: The index of the field containing the unmapped page cache memory usage, i.e., Linux page cache (file-backed memory) not mapped into any userspace process.
    • TOTAL_PAGE_CACHE_MEMORY_USAGE

      public static final GoogleTaskUsageTraceReader.FieldIndex TOTAL_PAGE_CACHE_MEMORY_USAGE
      9: The index of the field containing the total page cache memory usage, i.e., the total Linux page cache (file-backed memory).
    • MAXIMUM_MEMORY_USAGE

      public static final GoogleTaskUsageTraceReader.FieldIndex MAXIMUM_MEMORY_USAGE
      10: The index of the field containing the maximum memory usage, i.e., the maximum value of the canonical memory usage measurement observed over the measurement interval. This value is not available for some tasks.
    • MEAN_DISK_IO_TIME

      public static final GoogleTaskUsageTraceReader.FieldIndex MEAN_DISK_IO_TIME
      11: The index of the field containing the mean disk I/O time.
    • MEAN_LOCAL_DISK_SPACE_USED

      public static final GoogleTaskUsageTraceReader.FieldIndex MEAN_LOCAL_DISK_SPACE_USED
      12: The index of the field containing the mean local disk space used. Represents runtime local disk capacity usage. Disk usage required for binaries and other read-only, pre-staged runtime files is ​not​included. Additionally, most disk space used by distributed, persistent storage (e.g. GFS, Colossus) is not accounted for in this trace.
    • MAXIMUM_CPU_USAGE

      public static final GoogleTaskUsageTraceReader.FieldIndex MAXIMUM_CPU_USAGE
      13: The index of the field containing the maximum CPU usage observed over the measurement interval.
    • MAXIMUM_DISK_IO_TIME

      public static final GoogleTaskUsageTraceReader.FieldIndex MAXIMUM_DISK_IO_TIME
      14: The index of the field containing the maximum disk IO time observed over the measurement interval.
  • Method Details

    • values

      public static GoogleTaskUsageTraceReader.FieldIndex[] 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

      public static GoogleTaskUsageTraceReader.FieldIndex valueOf(String name)
      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 name
      NullPointerException - if the argument is null