f76966cda37d3ec2909d2bb4ba997485772b2984
[sixth-data.git] / src / main / java / eu / svjatoslav / sixth / data / store / file / package-info.java
1 /*
2  * Sixth - System for data storage, computation, exploration and interaction.
3  * Copyright ©2012-2016, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
4  * 
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of version 3 of the GNU Lesser General Public License
7  * or later as published by the Free Software Foundation.
8  */
9
10 package eu.svjatoslav.sixth.data.store.file;
11
12 /**
13  * <pre>
14  * File based storage consists of three segments in the following order:
15  *
16  * METADATA
17  *     Small and fixed length.
18  *     Contains few variables.
19  *
20  * ENTRY ALLOCATION TABLE
21  *     Size of this segment dynamically expands as more
22  *     entries are created and more of unique ID's are needed.
23  *
24  *         This segment consists of many small fixed length records,
25  *     one per entry.
26  *
27  * ESTRIES STORAGE AREA
28  *     This area holds actual content of stored entries.
29  *
30  * </pre>
31  */