Class FileDBRegistry

java.lang.Object
com.yahoo.vespa.config.server.filedistribution.FileDBRegistry
All Implemented Interfaces:
com.yahoo.config.application.api.FileRegistry

public class FileDBRegistry extends Object implements com.yahoo.config.application.api.FileRegistry
File registry for one application package
Author:
Tony Vaagenes
  • Constructor Details

  • Method Details

    • create

      public static FileDBRegistry create(AddFileInterface manager, Reader persistedState)
    • addFile

      public com.yahoo.config.FileReference addFile(String relativePath)
      Specified by:
      addFile in interface com.yahoo.config.application.api.FileRegistry
    • addUri

      public com.yahoo.config.FileReference addUri(String uri)
      Specified by:
      addUri in interface com.yahoo.config.application.api.FileRegistry
    • addBlob

      public com.yahoo.config.FileReference addBlob(String blobName, ByteBuffer blob)
      Specified by:
      addBlob in interface com.yahoo.config.application.api.FileRegistry
    • export

      public List<com.yahoo.config.application.api.FileRegistry.Entry> export()
      Specified by:
      export in interface com.yahoo.config.application.api.FileRegistry
    • exportRegistry

      public static String exportRegistry(com.yahoo.config.application.api.FileRegistry registry)