Package com.linkedin.davinci.validation
Class PartitionTracker.TopicType
- java.lang.Object
-
- com.linkedin.davinci.validation.PartitionTracker.TopicType
-
- Enclosing class:
- PartitionTracker
public static class PartitionTracker.TopicType extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intREALTIME_TOPIC_TYPEThe topic is a realtime topic.static intVERSION_TOPIC_TYPEThe topic is a version topic.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKafkaUrl()intgetValue()static booleanisRealtimeTopic(PartitionTracker.TopicType type)static booleanisVersionTopic(PartitionTracker.TopicType type)static PartitionTracker.TopicTypeof(int val)static PartitionTracker.TopicTypeof(int val, java.lang.String kafkaUrl)
-
-
-
Field Detail
-
VERSION_TOPIC_TYPE
public static final int VERSION_TOPIC_TYPE
The topic is a version topic.- See Also:
- Constant Field Values
-
REALTIME_TOPIC_TYPE
public static final int REALTIME_TOPIC_TYPE
The topic is a realtime topic.- See Also:
- Constant Field Values
-
-
Method Detail
-
of
public static PartitionTracker.TopicType of(int val, java.lang.String kafkaUrl)
-
of
public static PartitionTracker.TopicType of(int val)
-
getValue
public int getValue()
-
getKafkaUrl
public java.lang.String getKafkaUrl()
-
isRealtimeTopic
public static boolean isRealtimeTopic(PartitionTracker.TopicType type)
-
isVersionTopic
public static boolean isVersionTopic(PartitionTracker.TopicType type)
-
-