#include <XrdOucChkPnt.hh>
◆ XrdOucChkPnt()
XrdOucChkPnt::XrdOucChkPnt |
( |
| ) |
|
|
inline |
Constructor and destructor.
◆ ~XrdOucChkPnt()
virtual XrdOucChkPnt::~XrdOucChkPnt |
( |
| ) |
|
|
inlinevirtual |
◆ Create()
virtual int XrdOucChkPnt::Create |
( |
| ) |
|
|
pure virtual |
Create a checkpoint.
- Returns
- 0 upon success and -errno upon failure.
Implemented in XrdOfsChkPnt.
◆ Delete()
virtual int XrdOucChkPnt::Delete |
( |
| ) |
|
|
pure virtual |
Delete a checkpoint.
- Returns
- 0 upon success and -errno upon failure.
Implemented in XrdOfsChkPnt.
◆ Finished()
virtual void XrdOucChkPnt::Finished |
( |
| ) |
|
|
pure virtual |
Indicate that the checkpointing is finished. Any outstanding checkpoint should be delete and the object should delete itself if necessary.
Implemented in XrdOfsChkPnt.
◆ Query()
virtual int XrdOucChkPnt::Query |
( |
struct iov & |
range | ) |
|
|
pure virtual |
Query checkpoint limits.
- Parameters
-
range | - reference to where limits are placed. range.length - holds maximum checkpoint length allowed. |
- Returns
- 0 upon success and -errno upon failure.
Implemented in XrdOfsChkPnt.
◆ Restore()
virtual int XrdOucChkPnt::Restore |
( |
bool * |
readok = 0 | ) |
|
|
pure virtual |
Restore a checkpoint.
- Parameters
-
readok | - When not nil and an error occurs readok is set true if read access is still allowed; otherwise no access should be allowed. |
- Returns
- 0 upon success and -errno upon failure.
Implemented in XrdOfsChkPnt.
◆ Truncate()
virtual int XrdOucChkPnt::Truncate |
( |
struct iov *& |
range | ) |
|
|
pure virtual |
Truncate a file to a specific size.
- Parameters
-
range | - reference to the file truncate size in offset. |
- Returns
- 0 upon success and -errno upon failure.
Implemented in XrdOfsChkPnt.
◆ Write()
virtual int XrdOucChkPnt::Write |
( |
struct iov *& |
range, |
|
|
int |
rnum |
|
) |
| |
|
pure virtual |
Write data to a checkpointed file.
- Parameters
-
range | - reference to the file pieces to write. |
rnum | - number of elements in "range". |
- Returns
- 0 upon success and -errno upon failure.
Implemented in XrdOfsChkPnt.
The documentation for this class was generated from the following file: