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 int
REALTIME_TOPIC_TYPE
The topic is a realtime topic.static int
VERSION_TOPIC_TYPE
The topic is a version topic.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKafkaUrl()
int
getValue()
static boolean
isRealtimeTopic(PartitionTracker.TopicType type)
static boolean
isVersionTopic(PartitionTracker.TopicType type)
static PartitionTracker.TopicType
of(int val)
static PartitionTracker.TopicType
of(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)
-
-