Class PushStatusStoreVeniceWriterCache
- java.lang.Object
-
- com.linkedin.venice.pushstatushelper.PushStatusStoreVeniceWriterCache
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class PushStatusStoreVeniceWriterCache extends java.lang.Object implements java.lang.AutoCloseable
Wrapper class for acquiring VeniceWriter for push status stores.
-
-
Constructor Summary
Constructors Constructor Description PushStatusStoreVeniceWriterCache(VeniceWriterFactory writerFactory, org.apache.avro.Schema valueSchema, org.apache.avro.Schema updateSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
VeniceWriter
prepareVeniceWriter(java.lang.String storeName)
void
removeVeniceWriter(java.lang.String storeName)
-
-
-
Constructor Detail
-
PushStatusStoreVeniceWriterCache
public PushStatusStoreVeniceWriterCache(VeniceWriterFactory writerFactory, org.apache.avro.Schema valueSchema, org.apache.avro.Schema updateSchema)
-
-
Method Detail
-
prepareVeniceWriter
public VeniceWriter prepareVeniceWriter(java.lang.String storeName)
-
removeVeniceWriter
public void removeVeniceWriter(java.lang.String storeName)
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-