Interface VeniceEnumValue

All Known Implementing Classes:
BackupStrategy, CompressionStrategy, ComputeOperationType, ControlMessageType, ExecutionStatus, LeaderCompleteState, MessageType, MetaStoreDataType, PushJobCheckpoints, PushJobDetailsStatus, VeniceOpenTelemetryMetricNamingFormat, VersionStatus

public interface VeniceEnumValue
N.B.: Although there is no way to force this via Java interfaces, the convention is that all enums implementing this interface should have static "valueOf" function to return the correct enum value from a given numeric value, i.e.: Note that VeniceEnumValueTest makes it easy to test the above, and we should have a subclass of that test for all implementations of this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
  • Method Details

    • getValue

      int getValue()