Package io.debezium.schema
Class TopicSelector.TopicNameCache<I extends DataCollectionId>
java.lang.Object
io.debezium.schema.TopicSelector.TopicNameCache<I>
- All Implemented Interfaces:
TopicSelector.DataCollectionTopicNamer<I>
- Enclosing class:
- TopicSelector<I extends DataCollectionId>
@ThreadSafe
private static class TopicSelector.TopicNameCache<I extends DataCollectionId>
extends Object
implements TopicSelector.DataCollectionTopicNamer<I>
A topic namer that caches names it has obtained from a delegate.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final TopicSelector.DataCollectionTopicNamer<I>
private final BoundedConcurrentHashMap<I,
String> -
Constructor Summary
-
Method Summary
-
Field Details
-
topicNames
-
delegate
-
-
Constructor Details
-
TopicNameCache
TopicNameCache(TopicSelector.DataCollectionTopicNamer<I> delegate)
-
-
Method Details
-
topicNameFor
- Specified by:
topicNameFor
in interfaceTopicSelector.DataCollectionTopicNamer<I extends DataCollectionId>
-