Interface VersionStoreFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <VALUE,​METADATA>
      org.projectnessie.versioned.VersionStore<VALUE,​METADATA>
      newStore​(org.projectnessie.versioned.StoreWorker<VALUE,​METADATA> worker)
      Creates a new store using the provided worker.
    • Method Detail

      • newStore

        <VALUE,​METADATA> org.projectnessie.versioned.VersionStore<VALUE,​METADATA> newStore​(org.projectnessie.versioned.StoreWorker<VALUE,​METADATA> worker)
                                                                                                throws IOException
        Creates a new store using the provided worker.
        Type Parameters:
        VALUE - the value type
        METADATA - the metadata type
        Parameters:
        worker - the worker instance
        Returns:
        a store instance
        Throws:
        IOException - if an exception occurs during store instantiation