#include <hsm_InoObj.h>
A more elaborate class description that describes all aspects of class usage etc.
Definition at line 35 of file client/hsmlist/hsm_InoObj.h.
Public Member Functions | |
| hsm_InoObj (ivd_FS_FileProperty_t &a_fileProp, hsm_ChgFlag_t a_inodeChgFlag=0) | |
| hsm_InoObj (ivd_FileType_e a_fType, ivd_GenInode_t a_inode, ivd_FileID_t a_fileID, hsm_ChgFlag_t a_inodeChgFlag=0) | |
| constructor for creating an object from I-node, fileID and chunk size | |
| hsm_InoObj () | |
| Default constructor. | |
| virtual | ~hsm_InoObj () |
| destructor | |
| bool | operator== (ivd_GenInode_t a_inode) |
| bool | operator== (hsm_InoObj &a_inodeObj) |
| compare if two inodes are organicaly same have equal: inode, fileID, chunkSize | |
| ivd_FileSize_t | GetFileSize (void) const |
| ivd_FileType_e | GetfType (void) const |
| UInt64_t | GetInode (void) const |
| UInt32_t | GetShortInode () const |
| ivd_FileID_t | GetFileId (void) const |
| ivd_FileSize_t | GetChnSize (void) const |
| hsm_ChgFlag_t | GetInodeChgFlag (void) const |
| bool | IsDeleted (void) const |
| bool | IsDirty (void) const |
| bool | GetOffline (void) const |
| void | ResetDataInPacker () |
| void | SetDataInPacker () |
| bool | IsDataInPacker () |
| void | SetDirty (bool a_dirty) |
| void | SetInode (ivd_GenInode_t a_fInode) |
| void | SetInodeChgFlag (hsm_ChgFlag_t a_inodeChgFlag) |
| void | UnSetInodeChgFlag (hsm_ChgFlag_t a_inodeChgFlag) |
| void | SetFileSize (ivd_FileSize_t a_fileSize) |
| void | SetChnSize (ivd_FileSize_t a_chnSize) |
| void | SetFileID (ivd_FileID_t a_fileId) |
| set fileID and extend atributes | |
| void | UpdateFileID (ivd_FileID_t a_fileId) |
| set fileID and DOESN'T set EA | |
| void | CleanChgFlag (ivd_Time_t a_modTimeAtMig) |
| void | SetOffline (bool a_offline, const cmn_Path &a_fullPath) |
| void | IncrRef () |
| method to increment reference to this object to know how many File header objects are referenced to it | |
| void | DecrRef () |
| method to decrement reference to this object. | |
| bool | IsEqual (hsm_InoObj *a_InoObj) const |
| method to check if object in input is equal to this object | |
| void | SetMigAllowedTime (ivd_Time32_t a_migAllowedTime) |
| ivd_Time32_t | GetMigAllowedTime () |
| hsm_InoObj (UInt64_t a_inode, ivd_FileID_t a_fileID, ivd_FileSize_t a_chnSize, ivd_FileSize_t a_fileSize=0) | |
| hsm_InoObj () | |
| Default constructor. | |
| virtual | ~hsm_InoObj () |
| ivd_FileSize_t | GetFileSize (void) const |
| UInt64_t | GetInode (void) const |
| ivd_FileID_t | GetFileId (void) const |
| ivd_FileSize_t | GetChnSize (void) const |
| UInt16_t | GetData (void) const |
| void | SetInode (UInt64_t a_fInode) |
| void | SetChnData (UInt16_t a_Data) |
| void | SetFileId (ivd_FileID_t a_fileId) |
| void | SetFileSize (ivd_FileSize_t a_fileSize) |
| void | SetChnSize (ivd_FileSize_t a_chnSize) |
| void | Update (ivd_FileID_t a_fileId, ivd_FileSize_t a_fileSize=0) |
| void | IncrRef () |
| void | DecrRef () |
| bool | IsEqual (hsm_InoObj *a_InoObj) const |
Public Attributes | |
| log_CLASSID_m | |
| Macro to add class name member s_className. | |
| ivd_Time32_t | m_lastDataUpdataInDB |
| Do not update HSMDB to often. | |
Private Attributes | |
| ivd_FileType_e | m_fType |
| File type eRegular, eSymlink, eDirectory, eDevice. | |
| ivd_GenInode_t | m_fInode |
| ivd_FileID_t | m_fileId |
| ivd_FileSize_t | m_chnSize |
| ivd_FileSize_t | m_fileSize |
| Whole file size - with all chunks. | |
| UInt16_t | m_inodeRef |
| hsm_ChgFlag_t | m_inodeChgFlag |
| which part of file is changed | |
| bool | m_offline |
| bool | m_dirty |
| dirty flag is set by constructor, but only for directories as owner NOTE!!! active object has not defined this flag | |
| bool | m_dataInPacker |
| ivd_Time32_t | m_migAllowedTime |
| when data or attr is changed this member is set to time when migratin is allowed. | |
| UInt64_t | m_fInode |
| UInt16_t | m_Data |
| hsm_InoObj::hsm_InoObj | ( | ivd_FS_FileProperty_t & | a_fileProp, | |
| hsm_ChgFlag_t | a_inodeChgFlag = 0 | |||
| ) |
Definition at line 49 of file hsm_InoObj.cpp.
References hsm_InoObj(), and log_FUNC_m.
00050 : 00051 m_fType(a_fileProp.m_type), 00052 m_fInode(a_fileProp.m_Inode), 00053 m_fileId(a_fileProp.m_fileID), 00054 m_chnSize(a_fileProp.m_chunkSize), 00055 m_fileSize(a_fileProp.m_fileSize), 00056 m_inodeRef(1),// some one need it, same as find in cache increase reference 00057 m_inodeChgFlag(a_inodeChgFlag), // Flag 1 bit ON data exist and is changed 00058 m_offline(a_fileProp.m_offlineFlag), 00059 m_dirty(a_fileProp.m_dirtyFlag), 00060 m_dataInPacker(false), 00061 m_migAllowedTime(0), // any time 00062 m_lastDataUpdataInDB(0) 00063 { 00064 log_FUNC_m(hsm_InoObj(ivd_FS_FileProperty)); 00065 }

| hsm_InoObj::hsm_InoObj | ( | ivd_FileType_e | a_fType, | |
| ivd_GenInode_t | a_inode, | |||
| ivd_FileID_t | a_fileID, | |||
| hsm_ChgFlag_t | a_inodeChgFlag = 0 | |||
| ) |
constructor for creating an object from I-node, fileID and chunk size
| a_inode | I-node, | |
| a_fileID | file ID from FSC, | |
| a_chnSize | Chunk size |
Definition at line 72 of file hsm_InoObj.cpp.
References log_FUNC_m.
00076 : 00077 m_fType(a_fType), 00078 m_fInode(a_inode), 00079 m_fileId(a_fileID), 00080 m_chnSize(0), 00081 m_fileSize(0), 00082 m_inodeRef(1),// some one need it, same as find in cache increase reference 00083 m_inodeChgFlag(a_inodeChgFlag), 00084 m_offline(false), 00085 m_dirty(false), 00086 m_dataInPacker(false), 00087 m_migAllowedTime(0), 00088 m_lastDataUpdataInDB(0) 00089 { 00090 log_FUNC_m(hsm_InoObj); 00091 } //============================================================================//
| hsm_InoObj::hsm_InoObj | ( | ) |
Default constructor.
Referenced by GetInodeObj(), and hsm_InoObj().

| hsm_InoObj::~hsm_InoObj | ( | ) | [virtual] |
destructor
Definition at line 97 of file hsm_InoObj.cpp.
References log_FUNC_m.
00097 { 00098 log_FUNC_m(~hsm_InoObj); 00099 // NULL statement 00100 }
| hsm_InoObj::hsm_InoObj | ( | UInt64_t | a_inode, | |
| ivd_FileID_t | a_fileID, | |||
| ivd_FileSize_t | a_chnSize, | |||
| ivd_FileSize_t | a_fileSize = 0 | |||
| ) |
| hsm_InoObj::hsm_InoObj | ( | ) |
Default constructor.
| virtual hsm_InoObj::~hsm_InoObj | ( | ) | [virtual] |
| bool hsm_InoObj::operator== | ( | ivd_GenInode_t | a_inode | ) |
Definition at line 104 of file hsm_InoObj.cpp.
References log_FUNC_m, and m_fInode.
00104 { 00105 log_FUNC_m(operator==inode); 00106 return m_fInode == a_inode; 00107 }
| bool hsm_InoObj::operator== | ( | hsm_InoObj & | a_inodeObj | ) |
compare if two inodes are organicaly same have equal: inode, fileID, chunkSize
Definition at line 115 of file hsm_InoObj.cpp.
References log_FUNC_m, m_chnSize, m_fileId, and m_fInode.
00115 { 00116 log_FUNC_m(operator==inodeObj); 00117 return ( m_fInode == a_inode.m_fInode 00118 && m_fileId == a_inode.m_fileId 00119 && m_chnSize == a_inode.m_chnSize ); 00120 }
| ivd_FileSize_t hsm_InoObj::GetFileSize | ( | void | ) | const [inline] |
Definition at line 100 of file client/hsmlist/hsm_InoObj.h.
References m_fileSize.
Referenced by hsm_FileHeader::CompleteMigIsDone(), hsm_FileHeader::FileToSeqElem(), hsm_FileHeader::GetFileSize(), hsm_FileHeader::GetFileSizeForMig(), hsm_FileHeader::MigCanToPreJob(), hsm_FileHeader::MigrationIsDone(), and hsm_FileHeader::ToMigCand().
00100 { return m_fileSize;};

| ivd_FileType_e hsm_InoObj::GetfType | ( | void | ) | const [inline] |
Definition at line 101 of file client/hsmlist/hsm_InoObj.h.
References m_fType.
Referenced by hsm_FileHeader::GetFileType(), and hsm_FileHeader::GetfType().
00101 { return m_fType ;};

| UInt64_t hsm_InoObj::GetInode | ( | void | ) | const [inline] |
Definition at line 102 of file client/hsmlist/hsm_InoObj.h.
References m_fInode.
Referenced by hsm_FileHeader::GetInode(), and IsEqual().
00102 { return m_fInode ;};

| UInt32_t hsm_InoObj::GetShortInode | ( | ) | const [inline] |
Definition at line 103 of file client/hsmlist/hsm_InoObj.h.
References IVD_FILE_INO, and m_fInode.
Referenced by hsm_FileHeader::GetShortInode().
00103 { return IVD_FILE_INO(m_fInode);};

| ivd_FileID_t hsm_InoObj::GetFileId | ( | void | ) | const [inline] |
Definition at line 104 of file client/hsmlist/hsm_InoObj.h.
References m_fileId.
Referenced by hsm_FileHeader::GetFileID(), and hsm_FHrelc::Truncate().
00104 { return m_fileId ;};

| ivd_FileSize_t hsm_InoObj::GetChnSize | ( | void | ) | const [inline] |
Definition at line 105 of file client/hsmlist/hsm_InoObj.h.
References m_chnSize.
Referenced by hsm_FileHeader::Recalled().
00105 { return m_chnSize;};

| hsm_ChgFlag_t hsm_InoObj::GetInodeChgFlag | ( | void | ) | const [inline] |
Definition at line 106 of file client/hsmlist/hsm_InoObj.h.
References m_inodeChgFlag.
Referenced by hsm_FileHeader::CompleteMigIsDone(), hsm_FileHeader::FileToSeqElem(), hsm_FileHeader::GetChgFlag(), hsm_FileHeader::GetFileSizeForMig(), hsm_FileHeader::MigCanToPreJob(), and hsm_FileHeader::ToMigCand().
00106 { return m_inodeChgFlag ;};

| bool hsm_InoObj::IsDeleted | ( | void | ) | const [inline] |
Definition at line 107 of file client/hsmlist/hsm_InoObj.h.
References CHG_DELETED_d, and m_inodeChgFlag.
Referenced by hsm_FileHeader::IsDeleted().
00107 { return (m_inodeChgFlag & CHG_DELETED_d) == CHG_DELETED_d;};

| bool hsm_InoObj::IsDirty | ( | void | ) | const [inline] |
Definition at line 108 of file client/hsmlist/hsm_InoObj.h.
References m_dirty.
Referenced by hsm_FileHeader::IsDirty().
00108 { return m_dirty;};

| bool hsm_InoObj::GetOffline | ( | void | ) | const [inline] |
Definition at line 109 of file client/hsmlist/hsm_InoObj.h.
References m_offline.
Referenced by hsm_FileHeader::GetOffline().
00109 { return m_offline;};

| void hsm_InoObj::ResetDataInPacker | ( | ) | [inline] |
Definition at line 110 of file client/hsmlist/hsm_InoObj.h.
References m_dataInPacker.
Referenced by hsm_FileHeader::ResetDataInPacker().
00110 { m_dataInPacker = false;};

| void hsm_InoObj::SetDataInPacker | ( | ) | [inline] |
Definition at line 111 of file client/hsmlist/hsm_InoObj.h.
References m_dataInPacker.
Referenced by hsm_FileHeader::SetDataInPacker().
00111 { m_dataInPacker = true;};

| bool hsm_InoObj::IsDataInPacker | ( | ) | [inline] |
Definition at line 112 of file client/hsmlist/hsm_InoObj.h.
References m_dataInPacker.
Referenced by hsm_FileHeader::IsDataInPacker().
00112 { return m_dataInPacker;};

| void hsm_InoObj::SetDirty | ( | bool | a_dirty | ) | [inline] |
Definition at line 113 of file client/hsmlist/hsm_InoObj.h.
References m_dirty.
00113 { m_dirty = a_dirty;};
| void hsm_InoObj::SetInode | ( | ivd_GenInode_t | a_fInode | ) | [inline] |
Definition at line 114 of file client/hsmlist/hsm_InoObj.h.
References m_fInode.
00114 { m_fInode = a_fInode ;};
| void hsm_InoObj::SetInodeChgFlag | ( | hsm_ChgFlag_t | a_inodeChgFlag | ) |
Definition at line 197 of file hsm_InoObj.cpp.
References CHG_DELETED_d, log_FUNC_m, and m_inodeChgFlag.
Referenced by hsm_FileHeader::NewName(), hsm_FileHeader::NewOwner(), and hsm_FileHeader::SetInodeChgFlag().
00197 { 00198 log_FUNC_m(SetInodeChgFlag); 00199 if (a_inodeChgFlag == CHG_DELETED_d) { 00200 m_inodeChgFlag = CHG_DELETED_d; 00201 } 00202 else { 00203 m_inodeChgFlag |= a_inodeChgFlag; 00204 } 00205 }

| void hsm_InoObj::UnSetInodeChgFlag | ( | hsm_ChgFlag_t | a_inodeChgFlag | ) | [inline] |
Definition at line 116 of file client/hsmlist/hsm_InoObj.h.
References m_inodeChgFlag.
Referenced by hsm_FileHeader::UnSetInodeChgFlag().
00116 { m_inodeChgFlag &= ~a_inodeChgFlag;};

| void hsm_InoObj::SetFileSize | ( | ivd_FileSize_t | a_fileSize | ) | [inline] |
Definition at line 117 of file client/hsmlist/hsm_InoObj.h.
References m_fileSize.
Referenced by hsm_FileHeader::SetFileSize().
00117 { m_fileSize = a_fileSize;};

| void hsm_InoObj::SetChnSize | ( | ivd_FileSize_t | a_chnSize | ) | [inline] |
Definition at line 118 of file client/hsmlist/hsm_InoObj.h.
References m_chnSize.
00118 {m_chnSize = a_chnSize;};
| void hsm_InoObj::SetFileID | ( | ivd_FileID_t | a_fileId | ) |
set fileID and extend atributes
Definition at line 172 of file hsm_InoObj.cpp.
References file, g_fs_api_p, m_chnSize, m_fileId, m_fInode, and ivd_FS_File::SetFileID().
Referenced by hsm_FileHeader::SetFileID().
00172 { 00173 m_fileId = a_fileId; 00174 00175 ivd_FS_File file(*g_fs_api_p, m_fInode,m_fileId); 00176 file.SetFileID(m_fileId, m_chnSize); 00177 00178 }


| void hsm_InoObj::UpdateFileID | ( | ivd_FileID_t | a_fileId | ) |
set fileID and DOESN'T set EA
Definition at line 182 of file hsm_InoObj.cpp.
References m_fileId.
Referenced by hsm_FileHeader::UpdateFileID().
00182 { 00183 m_fileId = a_fileId; 00184 }

| void hsm_InoObj::CleanChgFlag | ( | ivd_Time_t | a_modTimeAtMig | ) |
Definition at line 188 of file hsm_InoObj.cpp.
References file, g_fs_api_p, log_FUNC_m, m_chnSize, m_fileId, m_fileSize, m_fInode, m_inodeChgFlag, and ivd_FS_File::SetDataClean().
Referenced by hsm_FileHeader::CleanChgFlag().
00188 { 00189 log_FUNC_m(CleanChgFlag); 00190 m_inodeChgFlag = 0; 00191 if (m_fileSize > 0) { 00192 ivd_FS_File file(*g_fs_api_p, m_fInode, m_fileId); 00193 file.SetDataClean(a_modTimeAtMig, 0, m_chnSize); 00194 00195 } 00196 }


| void hsm_InoObj::SetOffline | ( | bool | a_offline, | |
| const cmn_Path & | a_fullPath | |||
| ) |
Definition at line 209 of file hsm_InoObj.cpp.
References ivd_FS_File::Close(), ivd_FS_File::e_Cache, file, g_fs_api_p, m_chnSize, m_fileId, m_fInode, m_offline, ivd_FS_File::Open(), ivd_FS_File::SetDataOffline(), ivd_FS_File::SetDataOnline(), and ivd_FS_File::SetFullPath().
Referenced by hsm_FileHeader::SetOffline().
00209 { 00210 m_offline = a_offline; 00211 00213 ivd_FS_File file(*g_fs_api_p, m_fInode, m_fileId); 00214 file.SetFullPath(a_fullPath); 00215 file.Open(ivd_FS_File::e_Cache,a_fullPath); 00216 if (a_offline) { 00217 file.SetDataOffline(0, m_chnSize); 00218 } 00219 else { 00220 file.SetDataOnline(0, m_chnSize); 00221 } 00222 file.Close(); 00223 00224 }


| void hsm_InoObj::IncrRef | ( | ) |
method to increment reference to this object to know how many File header objects are referenced to it
Definition at line 126 of file hsm_InoObj.cpp.
References dbg_DETAIL, IVD_PRINT_ID_FS, log_DBG_m, log_FUNC_m, m_fInode, and m_inodeRef.
00126 { 00127 log_FUNC_m(IncrRef); 00128 // cmn_MutexLock l(m_Reference_x); not need locked by inode 00130 m_inodeRef++; 00131 log_DBG_m(dbg_DETAIL, "Inc InoRef = " << m_inodeRef << ". INO " << IVD_PRINT_ID_FS(m_fInode)); 00132 }
| void hsm_InoObj::DecrRef | ( | ) |
method to decrement reference to this object.
This method is used for deleting the object from memory. It should be deleted just in case that no File Header object is referenced to it.
Definition at line 140 of file hsm_InoObj.cpp.
References dbg_DETAIL, dbg_NORM, IVD_PRINT_ID_FS, log_DBG_m, log_FUNC_m, m_fInode, and m_inodeRef.
Referenced by hsm_FileHeader::DecInodeRef(), and hsm_FileHeader::~hsm_FileHeader().
00140 { 00141 // cmn_MutexLock l(m_Reference_x); not need locked by inode 00142 log_FUNC_m(DecrRef); 00143 m_inodeRef--; 00144 log_DBG_m(dbg_DETAIL, "Dec InoRef = " << m_inodeRef << ". INO " << IVD_PRINT_ID_FS(m_fInode)); 00145 if (m_inodeRef == 0){ 00146 log_DBG_m(dbg_NORM, "InoRef is 0. Inode of FH is going to delete. INO " << IVD_PRINT_ID_FS(m_fInode)); 00147 delete this; 00148 } 00149 }

| bool hsm_InoObj::IsEqual | ( | hsm_InoObj * | a_InoObj | ) | const |
method to check if object in input is equal to this object
| a_InoObj | I-node object to check |
Definition at line 160 of file hsm_InoObj.cpp.
References GetInode(), log_FUNC_m, m_fInode, and NULL.
00160 { 00161 00162 log_FUNC_m(IsEqual); 00163 if ( a_InoObj != NULL && a_InoObj->GetInode() == m_fInode) { 00164 return true; 00165 } 00166 else { 00167 return false; 00168 } 00169 }

| void hsm_InoObj::SetMigAllowedTime | ( | ivd_Time32_t | a_migAllowedTime | ) | [inline] |
Definition at line 130 of file client/hsmlist/hsm_InoObj.h.
References m_migAllowedTime.
Referenced by hsm_FileHeader::InodeChgGoToDirty().
00130 {m_migAllowedTime = a_migAllowedTime;};

| ivd_Time32_t hsm_InoObj::GetMigAllowedTime | ( | ) | [inline] |
Definition at line 131 of file client/hsmlist/hsm_InoObj.h.
References m_migAllowedTime.
Referenced by hsm_FileHeader::GetMigAllowedTime().
00131 {return m_migAllowedTime;};

| ivd_FileSize_t hsm_InoObj::GetFileSize | ( | void | ) | const [inline] |
Definition at line 63 of file include/ivd/hsm_InoObj.h.
References m_fileSize.
00063 { return m_fileSize;};
| UInt64_t hsm_InoObj::GetInode | ( | void | ) | const [inline] |
Definition at line 64 of file include/ivd/hsm_InoObj.h.
References m_fInode.
00064 { return m_fInode ;};
| ivd_FileID_t hsm_InoObj::GetFileId | ( | void | ) | const [inline] |
Definition at line 65 of file include/ivd/hsm_InoObj.h.
References m_fileId.
00065 { return m_fileId ;};
| ivd_FileSize_t hsm_InoObj::GetChnSize | ( | void | ) | const [inline] |
Definition at line 66 of file include/ivd/hsm_InoObj.h.
References m_chnSize.
00066 { return m_chnSize;};
| UInt16_t hsm_InoObj::GetData | ( | void | ) | const [inline] |
Definition at line 67 of file include/ivd/hsm_InoObj.h.
References m_Data.
00067 { return m_Data ;};
| void hsm_InoObj::SetInode | ( | UInt64_t | a_fInode | ) | [inline] |
Definition at line 68 of file include/ivd/hsm_InoObj.h.
References m_fInode.
00068 { m_fInode = a_fInode ;};
| void hsm_InoObj::SetChnData | ( | UInt16_t | a_Data | ) | [inline] |
Definition at line 69 of file include/ivd/hsm_InoObj.h.
References m_Data.
00069 { m_Data = a_Data;};
| void hsm_InoObj::SetFileId | ( | ivd_FileID_t | a_fileId | ) | [inline] |
Definition at line 70 of file include/ivd/hsm_InoObj.h.
References m_fileId.
00070 {m_fileId = a_fileId;};
| void hsm_InoObj::SetFileSize | ( | ivd_FileSize_t | a_fileSize | ) | [inline] |
Definition at line 71 of file include/ivd/hsm_InoObj.h.
References m_fileSize.
00071 { m_fileSize = a_fileSize;};
| void hsm_InoObj::SetChnSize | ( | ivd_FileSize_t | a_chnSize | ) | [inline] |
Definition at line 72 of file include/ivd/hsm_InoObj.h.
References m_chnSize.
00072 {m_chnSize = a_chnSize;};
| void hsm_InoObj::Update | ( | ivd_FileID_t | a_fileId, | |
| ivd_FileSize_t | a_fileSize = 0 | |||
| ) |
| void hsm_InoObj::IncrRef | ( | ) |
| void hsm_InoObj::DecrRef | ( | ) |
| bool hsm_InoObj::IsEqual | ( | hsm_InoObj * | a_InoObj | ) | const |
Macro to add class name member s_className.
Definition at line 53 of file client/hsmlist/hsm_InoObj.h.
ivd_FileType_e hsm_InoObj::m_fType [private] |
File type eRegular, eSymlink, eDirectory, eDevice.
Definition at line 62 of file client/hsmlist/hsm_InoObj.h.
Referenced by GetfType().
ivd_GenInode_t hsm_InoObj::m_fInode [private] |
Definition at line 64 of file client/hsmlist/hsm_InoObj.h.
Referenced by CleanChgFlag(), DecrRef(), GetInode(), GetShortInode(), IncrRef(), IsEqual(), operator==(), SetFileID(), SetInode(), and SetOffline().
ivd_FileID_t hsm_InoObj::m_fileId [private] |
Definition at line 65 of file client/hsmlist/hsm_InoObj.h.
Referenced by CleanChgFlag(), GetFileId(), operator==(), SetFileId(), SetFileID(), SetOffline(), and UpdateFileID().
ivd_FileSize_t hsm_InoObj::m_chnSize [private] |
Definition at line 66 of file client/hsmlist/hsm_InoObj.h.
Referenced by CleanChgFlag(), GetChnSize(), operator==(), SetChnSize(), SetFileID(), and SetOffline().
ivd_FileSize_t hsm_InoObj::m_fileSize [private] |
Whole file size - with all chunks.
Definition at line 70 of file client/hsmlist/hsm_InoObj.h.
Referenced by CleanChgFlag(), GetFileSize(), and SetFileSize().
UInt16_t hsm_InoObj::m_inodeRef [private] |
hsm_ChgFlag_t hsm_InoObj::m_inodeChgFlag [private] |
which part of file is changed
Definition at line 75 of file client/hsmlist/hsm_InoObj.h.
Referenced by CleanChgFlag(), GetInodeChgFlag(), IsDeleted(), SetInodeChgFlag(), and UnSetInodeChgFlag().
bool hsm_InoObj::m_offline [private] |
Definition at line 77 of file client/hsmlist/hsm_InoObj.h.
Referenced by GetOffline(), and SetOffline().
bool hsm_InoObj::m_dirty [private] |
dirty flag is set by constructor, but only for directories as owner NOTE!!! active object has not defined this flag
Definition at line 80 of file client/hsmlist/hsm_InoObj.h.
Referenced by IsDirty(), and SetDirty().
bool hsm_InoObj::m_dataInPacker [private] |
Definition at line 83 of file client/hsmlist/hsm_InoObj.h.
Referenced by IsDataInPacker(), ResetDataInPacker(), and SetDataInPacker().
ivd_Time32_t hsm_InoObj::m_migAllowedTime [private] |
when data or attr is changed this member is set to time when migratin is allowed.
current time + minFileAge.
Definition at line 89 of file client/hsmlist/hsm_InoObj.h.
Referenced by GetMigAllowedTime(), and SetMigAllowedTime().
Do not update HSMDB to often.
Definition at line 94 of file client/hsmlist/hsm_InoObj.h.
Referenced by hsm_FileHeader::Event(), and hsm_FileHeader::RemoveFromActiveList().
UInt64_t hsm_InoObj::m_fInode [private] |
Definition at line 49 of file include/ivd/hsm_InoObj.h.
UInt16_t hsm_InoObj::m_Data [private] |
1.5.6