Class 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 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 interface java.lang.AutoCloseable