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