createRecordStorage

public abstract RecordStorage<I> createRecordStorage<I>(ContextSpec context, Class<? extends Entity<I, ? extends Object>> entityClass)

Creates a new RecordStorage.

Parameters

<I>

the type of entity IDs

context

specification of the Bounded Context RecordBasedRepository of which requests the creation of the storage

entityClass

the class of entities to be stored