Interface VersionStoreFactory
-
- All Known Implementing Classes:
DynamoVersionStoreFactory,InMemVersionStoreFactory,MongoVersionStoreFactory,RocksVersionStoreFactory
public interface VersionStoreFactoryFactory interface for creating version store instances.
-
-
Method Summary
All Methods Instance Methods Abstract 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, org.projectnessie.services.config.ServerConfig serverConfig)Creates a new store using the provided worker.
-
-
-
Method Detail
-
newStore
<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) throws IOException
Creates a new store using the provided worker.- Type Parameters:
VALUE- the value typeMETADATA- the metadata typeVALUE_TYPE- the value type enum- Parameters:
worker- the worker instance- Returns:
- a store instance
- Throws:
IOException- if an exception occurs during store instantiation
-
-