Package com.linkedin.venice.utils
Interface VeniceEnumValue
-
- All Known Implementing Classes:
CompressionStrategy
,ComputeOperationType
,ControlMessageType
,ExecutionStatus
,LeaderCompleteState
,MessageType
,MetaStoreDataType
,PushJobCheckpoints
,PushJobDetailsStatus
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getValue()
-