Package com.linkedin.davinci.stats
Class OtelVersionedStatsUtils.VersionInfo
java.lang.Object
com.linkedin.davinci.stats.OtelVersionedStatsUtils.VersionInfo
- Enclosing class:
- OtelVersionedStatsUtils
Immutable holder for current and future version numbers.
Used to classify versions as CURRENT, FUTURE, or BACKUP.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OtelVersionedStatsUtils.VersionInfoSentinel for stores with no version assigned yet or whose version info has been reset (e.g., after deletion). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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()
-