Skip to content

# In memory

In memory realizations contains several simple variants:

- MapCRUDRepo
- MapKeyValueRepo
- MapKeyValuesRepo

Each realization contains `Write` and `Read` parents.

There are several important moments:

## WriteMapCRUDRepo (and MapCRUDRepo)

It is an abstract repo with abstract functions: `updateObject` and `createObject`. Both functions require from realization to create `Registered` variant from incoming data and both will be called within repo locker.withWriteLock.

You may use functions MapCRUDRepo with passing the callbacks `updateObject` and `createObject` which will be used in their realizations of default MapCRUDRepo variant