|
XRootD
|
#include <XrdPfcFile.hh>
Collaboration diagram for XrdPfc::File:Public Member Functions | |
| void | AddIO (IO *io) |
| void | BlockRemovedFromWriteQ (Block *) |
| Handle removal of a block from Cache's write queue. More... | |
| void | BlocksRemovedFromWriteQ (std::list< Block * > &) |
| Handle removal of a set of blocks from Cache's write queue. More... | |
| int | dec_ref_cnt () |
| bool | FinalizeSyncBeforeExit () |
| Returns true if any of blocks need sync. Called from Cache::dec_ref_cnt on zero ref cnt. More... | |
| int | Fstat (struct stat &sbuff) |
| int | get_ref_cnt () |
| size_t | GetAccessCnt () const |
| int | GetBlockSize () const |
| long long | GetFileSize () const |
| const Info::AStat * | GetLastAccessStats () const |
| const std::string & | GetLocalPath () const |
| XrdSysError * | GetLog () const |
| int | GetNBlocks () const |
| int | GetNDownloadedBlocks () const |
| int | GetPrefetchCountOnIO (IO *io) |
| long long | GetPrefetchedBytes () const |
| float | GetPrefetchScore () const |
| std::string | GetRemoteLocations () const |
| XrdSysTrace * | GetTrace () const |
| int | inc_ref_cnt () |
| long long | initiate_emergency_shutdown () |
| bool | ioActive (IO *io) |
| Initiate close. Return true if still IO active. Used in XrdPosixXrootd::Close() More... | |
| void | ioUpdated (IO *io) |
| Notification from IO that it has been updated (remote open). More... | |
| bool | is_in_emergency_shutdown () |
| const char * | lPath () const |
| Log path. More... | |
| void | Prefetch () |
| int | Read (IO *io, char *buff, long long offset, int size, ReadReqRH *rh) |
| Normal read. More... | |
| int | ReadV (IO *io, const XrdOucIOVec *readV, int readVnum, ReadReqRH *rh) |
| Vector read. More... | |
| const Stats & | RefStats () const |
| void | RemoveIO (IO *io) |
| void | RequestSyncOfDetachStats () |
| Flags that detach stats should be written out in final sync. Called from CacheIO upon Detach. More... | |
| void | StopPrefetchingOnIO (IO *io) |
| void | Sync () |
| Sync file cache inf o and output data with disk. More... | |
| void | WriteBlockToDisk (Block *b) |
Static Public Member Functions | |
| static File * | FileOpen (const std::string &path, long long offset, long long fileSize, XrdOucCacheIO *inputIO) |
| Static constructor that also does Open. Returns null ptr if Open fails. More... | |
Friends | |
| class | BlockResponseHandler |
| class | Cache |
| class | DirectResponseHandler |
Definition at line 202 of file XrdPfcFile.hh.
| void XrdPfc::File::AddIO | ( | IO * | io | ) |
| void XrdPfc::File::BlockRemovedFromWriteQ | ( | Block * | ) |
Handle removal of a block from Cache's write queue.
| void XrdPfc::File::BlocksRemovedFromWriteQ | ( | std::list< Block * > & | ) |
Handle removal of a set of blocks from Cache's write queue.
Referenced by XrdPfc::Cache::RemoveWriteQEntriesFor().
Here is the caller graph for this function:
|
inline |
Definition at line 288 of file XrdPfcFile.hh.
|
static |
Static constructor that also does Open. Returns null ptr if Open fails.
Referenced by XrdPfc::Cache::GetFile().
Here is the caller graph for this function:| bool XrdPfc::File::FinalizeSyncBeforeExit | ( | ) |
Returns true if any of blocks need sync. Called from Cache::dec_ref_cnt on zero ref cnt.
| int XrdPfc::File::Fstat | ( | struct stat & | sbuff | ) |
Referenced by XrdPfc::Cache::ConsiderCached(), XrdPfc::IOFile::Fstat(), and XrdPfc::Cache::Stat().
Here is the caller graph for this function:
|
inline |
Definition at line 286 of file XrdPfcFile.hh.
|
inline |
Definition at line 276 of file XrdPfcFile.hh.
References XrdPfc::Info::GetAccessCnt().
Here is the call graph for this function:
|
inline |
Definition at line 277 of file XrdPfcFile.hh.
References XrdPfc::Info::GetBufferSize().
Here is the call graph for this function:
|
inline |
Definition at line 267 of file XrdPfcFile.hh.
Referenced by XrdPfc::IOFile::FSize().
Here is the caller graph for this function:
|
inline |
Definition at line 275 of file XrdPfcFile.hh.
References XrdPfc::Info::GetLastAccessStats().
Here is the call graph for this function:
|
inline |
Definition at line 262 of file XrdPfcFile.hh.
Referenced by XrdPfc::Cache::AddWriteTask(), and XrdPfc::Cache::ReleaseFile().
Here is the caller graph for this function:| XrdSysError* XrdPfc::File::GetLog | ( | ) | const |
|
inline |
Definition at line 278 of file XrdPfcFile.hh.
References XrdPfc::Info::GetNBlocks().
Here is the call graph for this function:
|
inline |
Definition at line 279 of file XrdPfcFile.hh.
References XrdPfc::Info::GetNDownloadedBlocks().
Here is the call graph for this function:| int XrdPfc::File::GetPrefetchCountOnIO | ( | IO * | io | ) |
|
inline |
Definition at line 280 of file XrdPfcFile.hh.
| float XrdPfc::File::GetPrefetchScore | ( | ) | const |
| std::string XrdPfc::File::GetRemoteLocations | ( | ) | const |
| XrdSysTrace* XrdPfc::File::GetTrace | ( | ) | const |
|
inline |
Definition at line 287 of file XrdPfcFile.hh.
| long long XrdPfc::File::initiate_emergency_shutdown | ( | ) |
| bool XrdPfc::File::ioActive | ( | IO * | io | ) |
Initiate close. Return true if still IO active. Used in XrdPosixXrootd::Close()
Referenced by XrdPfc::IOFile::ioActive().
Here is the caller graph for this function:| void XrdPfc::File::ioUpdated | ( | IO * | io | ) |
Notification from IO that it has been updated (remote open).
Referenced by XrdPfc::IOFile::Update().
Here is the caller graph for this function:
|
inline |
Definition at line 291 of file XrdPfcFile.hh.
| const char* XrdPfc::File::lPath | ( | ) | const |
Log path.
Referenced by XrdPfc::Cache::ProcessWriteTasks(), and XrdPfc::Cache::RemoveWriteQEntriesFor().
Here is the caller graph for this function:| void XrdPfc::File::Prefetch | ( | ) |
| int XrdPfc::File::ReadV | ( | IO * | io, |
| const XrdOucIOVec * | readV, | ||
| int | readVnum, | ||
| ReadReqRH * | rh | ||
| ) |
Vector read.
|
inline |
Definition at line 281 of file XrdPfcFile.hh.
| void XrdPfc::File::RemoveIO | ( | IO * | io | ) |
| void XrdPfc::File::RequestSyncOfDetachStats | ( | ) |
Flags that detach stats should be written out in final sync. Called from CacheIO upon Detach.
Referenced by XrdPfc::IOFile::DetachFinalize().
Here is the caller graph for this function:| void XrdPfc::File::StopPrefetchingOnIO | ( | IO * | io | ) |
| void XrdPfc::File::Sync | ( | ) |
Sync file cache inf o and output data with disk.
| void XrdPfc::File::WriteBlockToDisk | ( | Block * | b | ) |
|
friend |
Definition at line 205 of file XrdPfcFile.hh.
|
friend |
Definition at line 204 of file XrdPfcFile.hh.
|
friend |
Definition at line 206 of file XrdPfcFile.hh.