Class PushStatusStoreVeniceWriterCache

java.lang.Object
com.linkedin.venice.pushstatushelper.PushStatusStoreVeniceWriterCache
All Implemented Interfaces:
AutoCloseable

public class PushStatusStoreVeniceWriterCache extends Object implements AutoCloseable
Wrapper class for acquiring VeniceWriter for push status stores.
  • Constructor Details

    • PushStatusStoreVeniceWriterCache

      public PushStatusStoreVeniceWriterCache(VeniceWriterFactory writerFactory, org.apache.avro.Schema valueSchema, org.apache.avro.Schema updateSchema)
  • Method Details

    • prepareVeniceWriter

      public VeniceWriter prepareVeniceWriter(String storeName)
    • removeVeniceWriter

      public void removeVeniceWriter(String storeName)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable