Package com.linkedin.venice.controller
Class ParticipantStoreClientsManager
java.lang.Object
com.linkedin.venice.controller.ParticipantStoreClientsManager
- All Implemented Interfaces:
Closeable
,AutoCloseable
A helper class that wraps the readers and writers for the participant stores.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionParticipantStoreClientsManager
(com.linkedin.d2.balancer.D2Client d2Client, String clusterDiscoveryD2ServiceName, TopicManagerRepository topicManagerRepository, VeniceWriterFactory veniceWriterFactory, PubSubTopicRepository pubSubTopicRepository) -
Method Summary
-
Field Details
-
pubSubTopicRepository
-
-
Constructor Details
-
ParticipantStoreClientsManager
public ParticipantStoreClientsManager(com.linkedin.d2.balancer.D2Client d2Client, String clusterDiscoveryD2ServiceName, TopicManagerRepository topicManagerRepository, VeniceWriterFactory veniceWriterFactory, PubSubTopicRepository pubSubTopicRepository)
-
-
Method Details
-
getReader
public AvroSpecificStoreClient<ParticipantMessageKey,ParticipantMessageValue> getReader(String clusterName) -
getWriter
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-