Class InMemoryVersionStoreFactory
- java.lang.Object
-
- org.projectnessie.server.providers.InMemoryVersionStoreFactory
-
- All Implemented Interfaces:
VersionStoreFactory
@StoreType(INMEMORY) @Dependent public class InMemoryVersionStoreFactory extends Object implements VersionStoreFactory
In-memory version store factory.
-
-
Constructor Summary
Constructors Constructor Description InMemoryVersionStoreFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <VALUE,METADATA>
org.projectnessie.versioned.VersionStore<VALUE,METADATA>newStore(org.projectnessie.versioned.StoreWorker<VALUE,METADATA> worker)Creates a new store using the provided worker.
-
-
-
Method Detail
-
newStore
public <VALUE,METADATA> org.projectnessie.versioned.VersionStore<VALUE,METADATA> newStore(org.projectnessie.versioned.StoreWorker<VALUE,METADATA> worker) throws IOExceptionDescription copied from interface:VersionStoreFactoryCreates a new store using the provided worker.- Specified by:
newStorein interfaceVersionStoreFactory- Type Parameters:
VALUE- the value typeMETADATA- the metadata type- Parameters:
worker- the worker instance- Returns:
- a store instance
- Throws:
IOException- if an exception occurs during store instantiation
-
-