Class OtelVersionedStatsUtils.VersionInfo

java.lang.Object
com.linkedin.davinci.stats.OtelVersionedStatsUtils.VersionInfo
Enclosing class:
OtelVersionedStatsUtils

public static final class OtelVersionedStatsUtils.VersionInfo extends Object
Immutable holder for current and future version numbers. Used to classify versions as CURRENT, FUTURE, or BACKUP.
  • Field Details

    • NON_EXISTING

      public static final OtelVersionedStatsUtils.VersionInfo NON_EXISTING
      Sentinel for stores with no version assigned yet or whose version info has been reset (e.g., after deletion).
  • Constructor Details

    • VersionInfo

      public VersionInfo(int currentVersion, int futureVersion)
  • Method Details

    • getCurrentVersion

      public int getCurrentVersion()
    • getFutureVersion

      public int getFutureVersion()