Class PushStatusStoreVeniceWriterCache
java.lang.Object
com.linkedin.venice.pushstatushelper.PushStatusStoreVeniceWriterCache
- All Implemented Interfaces:
AutoCloseable
Wrapper class for acquiring VeniceWriter for push status stores.
-
Constructor Summary
ConstructorDescriptionPushStatusStoreVeniceWriterCache
(VeniceWriterFactory writerFactory, org.apache.avro.Schema valueSchema, org.apache.avro.Schema updateSchema) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
prepareVeniceWriter
(String storeName) void
removeVeniceWriter
(String storeName)
-
Constructor Details
-
PushStatusStoreVeniceWriterCache
public PushStatusStoreVeniceWriterCache(VeniceWriterFactory writerFactory, org.apache.avro.Schema valueSchema, org.apache.avro.Schema updateSchema)
-
-
Method Details
-
prepareVeniceWriter
-
removeVeniceWriter
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-