|
XRootD
|
Task generating timeout events for FileStateHandlers in recovery mode. More...
#include <XrdClFileTimer.hh>
Inheritance diagram for XrdCl::FileTimer:
Collaboration diagram for XrdCl::FileTimer:Public Member Functions | |
| FileTimer () | |
| Constructor. | |
| virtual | ~FileTimer () |
| Destructor. | |
| void | Lock () |
| Lock the task. | |
| void | RegisterFileObject (FileStateHandler *file) |
| Register a file state handler. | |
| virtual time_t | Run (time_t now) |
| Perform the task's action. | |
| void | UnLock () |
| Un-lock the task. | |
| void | UnRegisterFileObject (FileStateHandler *file) |
| Un-register a file state handler. | |
Public Member Functions inherited from XrdCl::Task | |
| virtual | ~Task () |
| const std::string & | GetName () const |
| Name of the task. | |
| void | SetName (const std::string &name) |
| Set name of the task. | |
Task generating timeout events for FileStateHandlers in recovery mode.
Definition at line 32 of file XrdClFileTimer.hh.
|
inline |
Constructor.
Definition at line 38 of file XrdClFileTimer.hh.
References XrdCl::Task::SetName().
Here is the call graph for this function:
|
inlinevirtual |
|
inline |
|
inline |
Register a file state handler.
Definition at line 53 of file XrdClFileTimer.hh.
Referenced by XrdCl::FileStateHandler::FileStateHandler(), and XrdCl::FileStateHandler::FileStateHandler().
Here is the caller graph for this function:
|
virtual |
Perform the task's action.
Implements XrdCl::Task.
Definition at line 29 of file XrdClFileTimer.cc.
References XrdCl::DefaultTimeoutResolution, XrdCl::DefaultEnv::GetEnv(), and XrdCl::Env::GetInt().
Here is the call graph for this function:
|
inline |
|
inline |
Un-register a file state handler.
Definition at line 62 of file XrdClFileTimer.hh.
Referenced by XrdCl::FileStateHandler::~FileStateHandler().
Here is the caller graph for this function: