Package step.core.collections.inmemory
Class InMemoryCollectionFactory
- java.lang.Object
-
- step.core.collections.inmemory.InMemoryCollectionFactory
-
- All Implemented Interfaces:
CollectionFactory
public class InMemoryCollectionFactory extends Object implements CollectionFactory
-
-
Field Summary
-
Fields inherited from interface step.core.collections.CollectionFactory
VERSION_COLLECTION_SUFFIX
-
-
Constructor Summary
Constructors Constructor Description InMemoryCollectionFactory(Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()<T> Collection<T>getCollection(String name, Class<T> entityClass)Collection<EntityVersion>getVersionedCollection(String name)
-
-
-
Constructor Detail
-
InMemoryCollectionFactory
public InMemoryCollectionFactory(Properties properties)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceCollectionFactory- Throws:
IOException
-
getCollection
public <T> Collection<T> getCollection(String name, Class<T> entityClass)
- Specified by:
getCollectionin interfaceCollectionFactory
-
getVersionedCollection
public Collection<EntityVersion> getVersionedCollection(String name)
- Specified by:
getVersionedCollectionin interfaceCollectionFactory
-
-