Skip to content

Commit

Permalink
Rename Info::CheckComplete() to Info::UpdateDownloadCompleteStaus().
Browse files Browse the repository at this point in the history
  • Loading branch information
alja committed Jun 9, 2016
1 parent 132f53b commit 1fcddb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/XrdFileCache/XrdFileCacheFile.cc
Expand Up @@ -913,7 +913,7 @@ void File::Prefetch()
}
if (!found) {
TRACEF(Dump, "File::Prefetch no free block found ");
m_cfi.CheckComplete();
m_cfi.UpdateDownloadCompleteStatus();
// it is possible all missing blocks are in map but downlaoded status is still not complete
// assert (m_cfi.IsComplete());
// remove block from map
Expand Down
4 changes: 2 additions & 2 deletions src/XrdFileCache/XrdFileCacheInfo.hh
Expand Up @@ -178,7 +178,7 @@ namespace XrdFileCache
//---------------------------------------------------------------------
//! Update complete status
//---------------------------------------------------------------------
void CheckComplete();
void UpdateDownloadCompleteStatus();

//---------------------------------------------------------------------
//! Get number of accesses
Expand Down Expand Up @@ -272,7 +272,7 @@ namespace XrdFileCache
return false;
}

inline void Info::CheckComplete()
inline void Info::UpdateDownloadCompleteStatus()
{
m_complete = !IsAnythingEmptyInRng(0, m_sizeInBits-1);
}
Expand Down

0 comments on commit 1fcddb9

Please sign in to comment.