Package Gnumed :: Package timelinelib :: Package db :: Package backends :: Module memory |
[frames] | no frames]

# Module memory

source code

Implementation of timeline database that stores all data in memory.

MemoryDB can be used as a base class for other timeline databases that wish to store all data in memory and also want to save the data to persistent storage whenever it changes in memory. Initially data can be read from persistent storage into memory.

MemoryDB is not suitable as a base class for timeline databases that need to query persistent storage to retrieve data.

Classes
| MemoryDB

Imports: TimelineIOError, Category, Container, Event, Observable, STATE_CHANGE_ANY, STATE_CHANGE_CATEGORY, generic_event_search, IdCounter