|
Classes | |
| class | cmn_FastFileSearch |
| <Description:> A more elaborate class description that describes all aspects of class usage etc. More... | |
| struct | fio_uvListHeader_t |
| struct | fio_Alter_t |
| class | fio_AlterJour |
| class | fio_AlterJourBlock |
| struct | fio_CirFileHeader_t |
| struct | fio_CirBlockHeader_t |
| class | fio_CirFileTrans |
| class | fio_DBFileDef |
| Description of each file inside database. More... | |
| class | fio_DataBase |
| class | fio_File |
| Basic (super) class for large file IO. More... | |
| struct | fio_jourDumpArguments_t |
| struct | fio_SizeOffset |
| struct | fio_PermJourInfo_t |
| Permanent journal manager information stored in each journal file as header. More... | |
| class | fio_JourFile |
| <Description:> A more elaborate class description that describes all aspects of class usage etc. More... | |
| class | fio_JourHandle |
| class | fio_JourMgr |
| struct | fio_permDBinfo_t |
| struct | fioWIN_permDBinfo_t |
| struct | fioLIN_permDBinfo_t |
| class | fio_PermDBinfoMgr |
| struct | fio_RelFileHeader_t |
| The relative file header must stay the same size almost for ever. More... | |
| struct | fio_UnusedRec_t |
| class | fio_RelFile |
| class | fio_RelFileTrans |
| class | fio_RelFileTransLstMgr |
| struct | fio_EndTransaction_t |
| struct | fio_StartTransaction_t |
| class | fio_Transaction |
| class | fio_TransGroupLock< _T, _defTransEl > |
| class | fio_TransLstMgr |
| class | fio_uvListMgr |
| class | fio_VarLenRFT |
| this class transform each strem of data represented as stream of byte to particular number of records. More... | |
| struct | fio_VecQualifers |
| class | fio_Vector |
| class | fio_BasicString |
| <Description:> A more elaborate class description that describes all aspects of class usage etc. More... | |
Defines | |
| #define | fio_ALTER_T_version 1 |
| alter structure MUST be created on heap, cause alteration object take care about it. | |
| #define | c_fio_AlterPrefix_d 0x4824 |
| #define | c_fio_AlterSuffix_d 0x4424 |
| #define | fio_CIR_BLOCK_HDR_T_VERSION 1 |
| <Description:> A more elaborate class description that describes all aspects of class usage etc. | |
| #define | fio_CIR_FILE_HDR_T_VERSION 1 |
| #define | fio_CIR_FH_IDENTIFICATION_LEN_d 10 |
| #define | fio_PERM_DB_INFO_STRUCT_VERSION_d 1 |
| Permanent DB information structure. | |
| #define | fio_HEADER_STRUCT_VERSION_d 1 |
| Header structure version. | |
| #define | fio_FH_IDENTIFICATION_LEN_d 24 |
| #define | fio_UNUSED_REC_CLEAR_BYTES_d 24 |
| #define | fio_MAX_UV_SIZE_TO_COMPARE_d 18 |
| #define | fio_RECOMENDED_UV_BUFFER_SIZE_d 256 |
| #define | fio_START_TRANS_STRING_d "\250]DV}\251" |
| Enought strange string, for better search of start transaction. | |
| #define | fio_START_TRANS_STR_LEN_d 6 |
| #define | fio_UV_T_VERSION 2 |
| #define | fio_ENDTRANS_T_VERSION 1 |
| NOTE: This two structure are used as start and end transaction mark. | |
| #define | fio_STARTTRANS_T_VERSION 1 |
Typedefs | |
| typedef ivd_RecordIDX_t | fio_RecordIDX_t |
| Type of fileio record index. | |
| typedef ivd_TransactionID_t | fio_TransactionID_t |
| Type of transaction ID, to difer between trarnsactions. | |
| typedef cmn_UUID_t | fio_DataBaseID_t |
| Special numbeer to difer between different DB in case of FSC ivd_PartitionID is used. | |
| typedef UInt64_t | ivd_TransNumber_t |
| transaction counter | |
| typedef UInt32_t | ivd_AlterNumber_t |
| number of alterations inside one transaction | |
| typedef vector < fio_AlterJourBlock * > | fio_AlterJourBlock_p_v_t |
| typedef fio_AlterJourBlock_p_v_t::iterator | fio_AlterJourBlock_p_v_i |
| typedef vector < fio_RelFileTrans * > | fio_RelFileTrans_p_v_t |
| typedef vector< ivd_RecordIDX_t > | fsc_RecordIDX_v_t |
| typedef vector< fsc_RecordIDX_v_t > | fsc_RecordIDX_vv_t |
| typedef vector< fio_SizeOffset > | fio_SizeOff_v |
| typedef fio_SizeOff_v::iterator | fio_SizeOff_vi |
| typedef list< fio_JourHandle * > | fio_JourHandle_p_l_t |
| typedef vector < fio_uvListHeader_t > | fio_LoUV_v_t |
| typedef fio_LoUV_v_t::iterator | fio_LoUV_v_i |
| typedef vector< fio_uvListMgr > | fio_uvListMgr_v_t |
| typedef vector < fio_RelFileTrans * > | fio_RelFileTrans_p_v_t |
| <Description:> A more elaborate class description that describes all aspects of class usage etc. | |
| typedef fio_RelFileTrans_p_v_t::iterator | fio_RelFileTrans_p_v_ti |
| typedef vector< fio_UV_t > | fio_UV_v_t |
| typedef fio_UV_v_t::iterator | fio_UV_v_i |
| typedef vector< fio_Transaction * > | fio_Transaction_p_v_t |
| typedef vector < fio_TransactionID_t > | fio_TransactionID_v_t |
| typedef vector< fio_RecordIDX_t > | fio_RecordIDX_v_t |
Enumerations | |
| enum | fio_TransType_e { ftt_NONE = 0, ftt_NORMAL = 1, ftt_HANDLE_UV = 2, ftt_FLUSH_UV = 3, ftt_CIRC_VECT = 4, ftt_SENTINEL = 5 } |
Functions | |
| cmn_ASSERT (sizeof(fio_VecQualifers)==ivd_SIZE_OF_FIO_VECTOR_QUALIFERS_d) | |
Variables | |
| IVD_FILEIO_DECL_d const int | c_fio_numOfDifVector |
| NullClass is used in map as element, cause element is not need. | |
| const Int16_t | c_fio_headerStructVersion |
| const int | c_fio_loUVHeaderLen |
| const ivd_FileBufSize_t | c_fio_maxRelFileHeadLen |
| const string | c_fio_ExtenOfTransFile |
| const unsigned int | c_fio_recommendUVBufferSize |
| IVD_FILEIO_DECL_d const string | c_fio_JourFileExt |
| const ivd_FileBufSize_t | c_fio_MaxJourSize |
| const Int16_t | c_fio_JournalHeaderStructVersion |
| const ivd_FileBufSize_t | c_fio_maxJourFileHeadLen |
| IVD_FILEIO_DECL_d bool | g_notCheckRFHeader |
| #define c_fio_AlterPrefix_d 0x4824 |
Definition at line 29 of file fio_Alteration.h.
Referenced by fio_Alter_t::Init(), and fio_Alter_t::isValid().
| #define c_fio_AlterSuffix_d 0x4424 |
Definition at line 31 of file fio_Alteration.h.
Referenced by fio_Alter_t::Init(), and fio_Alter_t::isValid().
| #define fio_ALTER_T_version 1 |
alter structure MUST be created on heap, cause alteration object take care about it.
Definition at line 26 of file fio_Alteration.h.
Referenced by fio_Alter_t::Init(), and fio_Alter_t::isValid().
| #define fio_CIR_BLOCK_HDR_T_VERSION 1 |
<Description:> A more elaborate class description that describes all aspects of class usage etc.
Definition at line 33 of file fio_CirFileTrans.h.
| #define fio_CIR_FH_IDENTIFICATION_LEN_d 10 |
Definition at line 35 of file fio_CirFileTrans.h.
Referenced by fio_CirFileHeader_t::fio_CirFileHeader_t(), and operator<<().
| #define fio_CIR_FILE_HDR_T_VERSION 1 |
Definition at line 34 of file fio_CirFileTrans.h.
| #define fio_ENDTRANS_T_VERSION 1 |
NOTE: This two structure are used as start and end transaction mark.
Both have version number that is checked at time of rever a transaction. DO NOT change the structure without changing the version number. If you change the structure then update == operator and constructor from file to work properly no mather which version of record is read.
Definition at line 56 of file fio_Transaction.h.
| #define fio_FH_IDENTIFICATION_LEN_d 24 |
Definition at line 35 of file fio_RelFile.h.
Referenced by fio_RelFile::fio_RelFile(), fio_RelFileHeader_t::fio_RelFileHeader_t(), and operator<<().
| #define fio_HEADER_STRUCT_VERSION_d 1 |
| #define fio_MAX_UV_SIZE_TO_COMPARE_d 18 |
Definition at line 99 of file fio_RelFile.h.
Referenced by IsUVFillerCorrupted(), and fio_RelFile::ReadNextUnusedVectorIDX().
| #define fio_PERM_DB_INFO_STRUCT_VERSION_d 1 |
Permanent DB information structure.
These info represent state of DB. Which transaciton is succesfully commited? What is next journal file position that transaction put data in it? Which journal file is current in use? Transaction number and journal date of previous archived database. All thee data are used as reliability feature for DB Replay, Archive,...
Definition at line 42 of file fio_PermDBinfoMgr.h.
Referenced by fio_permDBinfo_t::CheckValidation(), and fio_permDBinfo_t::Init().
| #define fio_RECOMENDED_UV_BUFFER_SIZE_d 256 |
Definition at line 34 of file fio_RelFileTrans.h.
| #define fio_START_TRANS_STR_LEN_d 6 |
Definition at line 34 of file fio_Transaction.h.
Referenced by fio_StartTransaction_t::FindStart(), and operator<<().
| #define fio_START_TRANS_STRING_d "\250]DV}\251" |
Enought strange string, for better search of start transaction.
Definition at line 33 of file fio_Transaction.h.
Referenced by fio_StartTransaction_t::FindStart().
| #define fio_STARTTRANS_T_VERSION 1 |
| #define fio_UNUSED_REC_CLEAR_BYTES_d 24 |
| #define fio_UV_T_VERSION 2 |
| typedef fio_AlterJourBlock_p_v_t::iterator fio_AlterJourBlock_p_v_i |
Definition at line 41 of file fio_AlterJour.h.
| typedef vector<fio_AlterJourBlock*> fio_AlterJourBlock_p_v_t |
Definition at line 24 of file fio_AlterJour.h.
| typedef cmn_UUID_t fio_DataBaseID_t |
| typedef list<fio_JourHandle*> fio_JourHandle_p_l_t |
Definition at line 43 of file fio_JourMgr.h.
| typedef fio_LoUV_v_t::iterator fio_LoUV_v_i |
Definition at line 164 of file fio_RelFile.h.
| typedef vector<fio_uvListHeader_t> fio_LoUV_v_t |
Definition at line 163 of file fio_RelFile.h.
| typedef ivd_RecordIDX_t fio_RecordIDX_t |
| typedef vector<fio_RecordIDX_t> fio_RecordIDX_v_t |
Definition at line 29 of file fio_uvListMgr.h.
| typedef vector<fio_RelFileTrans*> fio_RelFileTrans_p_v_t |
<Description:> A more elaborate class description that describes all aspects of class usage etc.
Definition at line 43 of file fio_RelFileTransLstMgr.h.
| typedef vector<fio_RelFileTrans*> fio_RelFileTrans_p_v_t |
Definition at line 84 of file fio_DataBase.h.
| typedef fio_RelFileTrans_p_v_t::iterator fio_RelFileTrans_p_v_ti |
Definition at line 44 of file fio_RelFileTransLstMgr.h.
| typedef vector<fio_SizeOffset> fio_SizeOff_v |
Definition at line 82 of file fio_JourFile.h.
| typedef fio_SizeOff_v::iterator fio_SizeOff_vi |
Definition at line 83 of file fio_JourFile.h.
| typedef vector<fio_Transaction*> fio_Transaction_p_v_t |
Definition at line 39 of file fio_TransLstMgr.h.
Definition at line 40 of file fio_TransLstMgr.h.
| typedef fio_UV_v_t::iterator fio_UV_v_i |
Definition at line 118 of file fio_Transaction.h.
| typedef vector<fio_UV_t> fio_UV_v_t |
Definition at line 117 of file fio_Transaction.h.
| typedef vector<fio_uvListMgr> fio_uvListMgr_v_t |
Definition at line 39 of file fio_RelFileTrans.h.
| typedef vector< ivd_RecordIDX_t > fsc_RecordIDX_v_t |
Definition at line 32 of file fio_JourFile.h.
| typedef vector< fsc_RecordIDX_v_t > fsc_RecordIDX_vv_t |
Definition at line 33 of file fio_JourFile.h.
| typedef UInt32_t ivd_AlterNumber_t |
| typedef UInt64_t ivd_TransNumber_t |
| enum fio_TransType_e |
Definition at line 125 of file fio_Transaction.h.
00125 { 00126 ftt_NONE = 0, // transaction is not active 00127 ftt_NORMAL = 1, // normal data changes 00128 ftt_HANDLE_UV = 2, // mini transaction and exclusive, handling of UV 00129 ftt_FLUSH_UV = 3, // exclusive to flush all UV 00130 ftt_CIRC_VECT = 4, // circular vector handling 00131 00132 ftt_SENTINEL = 5 00133 } fio_TransType_e;
| cmn_ASSERT | ( | sizeof(fio_VecQualifers) | = =ivd_SIZE_OF_FIO_VECTOR_QUALIFERS_d |
) |
| const string c_fio_ExtenOfTransFile |
Definition at line 40 of file fio_Transaction.cpp.
Definition at line 56 of file fio_RelFile.cpp.
Referenced by fio_RelFileHeader_t::fio_RelFileHeader_t().
| IVD_FILEIO_DECL_d const string c_fio_JourFileExt |
Definition at line 40 of file fio_JourFile.cpp.
Referenced by fio_JourMgr::fio_JourMgr(), fio_JourFile::JourFileName(), JournalDump(), fio_JourMgr::RemoveArhivedJourFile(), and RemoveJournalFiles().
| const int c_fio_loUVHeaderLen |
Definition at line 38 of file fio_JourFile.cpp.
Referenced by fio_JourFile::fio_JourFile(), and fio_JourFile::GetJourReadHandle().
Definition at line 58 of file fio_RelFile.cpp.
Referenced by fio_RelFile::CreateFile(), fio_Alter_t::Dump(), fio_RelFileHeader_t::fio_RelFileHeader_t(), fio_RelFileTrans::fio_RelFileTrans(), fio_RelFile::ReadListOfUnusedVector(), fio_RelFile::UpdateListOfUnusedVector(), and fio_RelFile::WriteListOfUnusedVector().
| IVD_FILEIO_DECL_d const int c_fio_numOfDifVector |
NullClass is used in map as element, cause element is not need.
All functionality is achive only with key. This helper function return unique file name on a_path directory.
Definition at line 57 of file fio_RelFile.cpp.
Referenced by fsc_Files::fsc_Files(), fsc_nsStream::ReadFromDB(), fsc_nsStream::RemoveLeftVectors(), fsc_nsStream::Write2DB(), and fsc_nsAttrMgr::Write2DB().
| const unsigned int c_fio_recommendUVBufferSize |
Definition at line 34 of file fio_RelFileTrans.cpp.
| IVD_FILEIO_DECL_d bool g_notCheckRFHeader |
Definition at line 61 of file fio_RelFile.cpp.
Referenced by fio_RelFile::fio_RelFile(), and main().
1.5.6