Class TopicSwitchWrapper
- java.lang.Object
-
- com.linkedin.davinci.kafka.consumer.TopicSwitchWrapper
-
public class TopicSwitchWrapper extends java.lang.ObjectThis class precomputes the conversion from Avro'sCharSequenceto String, and also hangs on to the correct instance ofPubSubTopic, so that the lookup need not be performed in many locations.
-
-
Constructor Summary
Constructors Constructor Description TopicSwitchWrapper(TopicSwitch topicSwitch, PubSubTopic newSourceTopic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PubSubTopicgetNewSourceTopic()java.util.Set<java.lang.String>getSourceServers()TopicSwitchgetTopicSwitch()
-
-
-
Constructor Detail
-
TopicSwitchWrapper
public TopicSwitchWrapper(TopicSwitch topicSwitch, PubSubTopic newSourceTopic)
-
-
Method Detail
-
getTopicSwitch
public TopicSwitch getTopicSwitch()
-
getNewSourceTopic
public PubSubTopic getNewSourceTopic()
-
getSourceServers
public java.util.Set<java.lang.String> getSourceServers()
-
-