Class MongoVersionStoreFactory

    • Constructor Detail

      • MongoVersionStoreFactory

        public MongoVersionStoreFactory()
    • Method Detail

      • newStore

        public <VALUE,​METADATA,​VALUE_TYPE extends Enum<VALUE_TYPE>> org.projectnessie.versioned.VersionStore<VALUE,​METADATA,​VALUE_TYPE> newStore​(org.projectnessie.versioned.StoreWorker<VALUE,​METADATA,​VALUE_TYPE> worker,
                                                                                                                                                                         org.projectnessie.services.config.ServerConfig serverConfig)
        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
        VALUE_TYPE - the value type enum
        Parameters:
        worker - the worker instance
        Returns:
        a store instance