Class DynamoVersionStoreFactory
- java.lang.Object
-
- org.projectnessie.server.providers.DynamoVersionStoreFactory
-
- All Implemented Interfaces:
VersionStoreFactory
@StoreType(DYNAMO) @Dependent public class DynamoVersionStoreFactory extends Object implements VersionStoreFactory
DynamoDB version store factory.
-
-
Constructor Summary
Constructors Constructor Description DynamoVersionStoreFactory(DynamoDatabaseClient client, org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig config)Creates a factory for dynamodb version stores.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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)Creates a new store using the provided worker.
-
-
-
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:VersionStoreFactoryCreates a new store using the provided worker.- Specified by:
newStorein interfaceVersionStoreFactory- Type Parameters:
VALUE- the value typeMETADATA- the metadata typeVALUE_TYPE- the value type enum- Parameters:
worker- the worker instance- Returns:
- a store instance
-
-