![]() |
XRootD
|
#include <XrdOucChkPnt.hh>
Public Member Functions | |
XrdOucChkPnt () | |
Constructor and destructor. More... | |
virtual | ~XrdOucChkPnt () |
virtual int | Create ()=0 |
virtual int | Delete ()=0 |
virtual void | Finished ()=0 |
virtual int | Query (struct iov &range)=0 |
virtual int | Restore (bool *readok=0)=0 |
virtual int | Truncate (struct iov *&range)=0 |
virtual int | Write (struct iov *&range, int rnum)=0 |
Definition at line 40 of file XrdOucChkPnt.hh.
|
inline |
|
inlinevirtual |
Definition at line 117 of file XrdOucChkPnt.hh.
|
pure virtual |
Create a checkpoint.
Implemented in XrdOfsChkPnt.
Referenced by XrdOfsFile::checkpoint().
|
pure virtual |
Delete a checkpoint.
Implemented in XrdOfsChkPnt.
Referenced by XrdOfsFile::checkpoint().
|
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.
Referenced by XrdOfsFile::checkpoint(), and XrdOfsFile::close().
|
pure virtual |
Query checkpoint limits.
range | - reference to where limits are placed. range.length - holds maximum checkpoint length allowed. |
Implemented in XrdOfsChkPnt.
Referenced by XrdOfsFile::checkpoint().
|
pure virtual |
Restore a checkpoint.
readok | - When not nil and an error occurs readok is set true if read access is still allowed; otherwise no access should be allowed. |
Implemented in XrdOfsChkPnt.
Referenced by XrdOfsFile::checkpoint(), and XrdOfsFile::close().
|
pure virtual |
Truncate a file to a specific size.
range | - reference to the file truncate size in offset. |
Implemented in XrdOfsChkPnt.
Referenced by XrdOfsFile::checkpoint().
|
pure virtual |
Write data to a checkpointed file.
range | - reference to the file pieces to write. |
rnum | - number of elements in "range". |
Implemented in XrdOfsChkPnt.
Referenced by XrdOfsFile::checkpoint().