java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.storage.common.Range

@Private @Unstable public class Range extends Object
Encapsulates a range with start and end indices.
  • Constructor Details

    • Range

      public Range(int start, int end)
      Defines a range from start index (inclusive) to end index (exclusive).
      Parameters:
      start - Starting index position
      end - Ending index position (exclusive)
  • Method Details

    • start

      public int start()
    • end

      public int end()
    • length

      public int length()