xrootd
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Attributes | Friends | List of all members
XrdOfsCPFile::rInfo Class Reference

#include <XrdOfsCPFile.hh>

Collaboration diagram for XrdOfsCPFile::rInfo:
Collaboration graph
[legend]

Public Member Functions

 rInfo ()
 
 ~rInfo ()
 

Public Attributes

const char * srcLFN
 Pointer to the source filename.
 
int64_t fSize
 Original size of the source file.
 
time_t mTime
 Original modification time of the source.
 
XrdOucIOVecDataVec
 A vector of data that must be written back.
 
int DataNum
 Number of elements in DataVec (may be 0)
 
int DataLen
 Number of bytes to write back (may be 0)
 

Private Attributes

void * rBuff
 

Friends

class XrdOfsCPFile
 

Detailed Description

Get the file restore information from a checkpoint file.

Parameters
rinfo- Reference to the rpInfo object.
ewhy- Pointer to text explaining the error encountered.
Returns
0 upon success with the rpInfo object filled out. Otherwise, -ENODATA File is empty (not committed) -ENODATA is returned. -ENOMEM Insufficient memory to read the file. -errno The file is corrupted, -errno indicates problem. If On error, if the source is known, rinfo.srcLFN will have the path.

Constructor & Destructor Documentation

◆ rInfo()

XrdOfsCPFile::rInfo::rInfo ( )

◆ ~rInfo()

XrdOfsCPFile::rInfo::~rInfo ( )

Friends And Related Symbol Documentation

◆ XrdOfsCPFile

friend class XrdOfsCPFile
friend

Member Data Documentation

◆ DataLen

int XrdOfsCPFile::rInfo::DataLen

Number of bytes to write back (may be 0)

◆ DataNum

int XrdOfsCPFile::rInfo::DataNum

Number of elements in DataVec (may be 0)

◆ DataVec

XrdOucIOVec* XrdOfsCPFile::rInfo::DataVec

A vector of data that must be written back.

◆ fSize

int64_t XrdOfsCPFile::rInfo::fSize

Original size of the source file.

◆ mTime

time_t XrdOfsCPFile::rInfo::mTime

Original modification time of the source.

◆ rBuff

void* XrdOfsCPFile::rInfo::rBuff
private

◆ srcLFN

const char* XrdOfsCPFile::rInfo::srcLFN

Pointer to the source filename.


The documentation for this class was generated from the following file: