Package step.core.collections
Interface CollectionFactory
-
- All Known Implementing Classes:
DelegatingCollectionFactory,FilesystemCollectionFactory,InMemoryCollectionFactory
public interface CollectionFactory
-
-
Field Summary
Fields Modifier and Type Field Description static StringVERSION_COLLECTION_SUFFIX
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()<T> Collection<T>getCollection(String name, Class<T> entityClass)Collection<EntityVersion>getVersionedCollection(String name)
-
-
-
Field Detail
-
VERSION_COLLECTION_SUFFIX
static final String VERSION_COLLECTION_SUFFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCollection
<T> Collection<T> getCollection(String name, Class<T> entityClass)
-
getVersionedCollection
Collection<EntityVersion> getVersionedCollection(String name)
-
close
void close() throws IOException- Throws:
IOException
-
-