Package step.core.collections.inmemory
Class InMemoryCollectionFactory
- java.lang.Object
-
- step.core.collections.inmemory.InMemoryCollectionFactory
-
- All Implemented Interfaces:
Closeable,AutoCloseable,CollectionFactory
public class InMemoryCollectionFactory extends Object implements CollectionFactory
-
-
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)
-
-
-
Constructor Detail
-
InMemoryCollectionFactory
public InMemoryCollectionFactory(Properties properties)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getCollection
public <T> Collection<T> getCollection(String name, Class<T> entityClass)
- Specified by:
getCollectionin interfaceCollectionFactory
-
-