Class DynamoVersionStoreFactory

    • Constructor Detail

      • DynamoVersionStoreFactory

        @Inject
        public DynamoVersionStoreFactory​(DynamoDatabaseClient client,
                                         org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig config)
        Creates a factory for dynamodb version stores.
    • 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,
                                                                                                                                                                         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