Class InMemoryVersionStoreFactory

    • Constructor Detail

      • InMemoryVersionStoreFactory

        public InMemoryVersionStoreFactory()
    • Method Detail

      • newStore

        public <VALUE,​METADATA> org.projectnessie.versioned.VersionStore<VALUE,​METADATA> newStore​(org.projectnessie.versioned.StoreWorker<VALUE,​METADATA> worker)
                                                                                                       throws IOException
        Description copied from interface: VersionStoreFactory
        Creates a new store using the provided worker.
        Specified by:
        newStore in interface VersionStoreFactory
        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