Task generating timeout events for FileStateHandlers in recovery mode. More...
#include <XrdClFileTimer.hh>


Public Member Functions | |
| FileTimer () | |
| Constructor. | |
| virtual | ~FileTimer () |
| Destructor. | |
| void | RegisterFileObject (FileStateHandler *file) |
| Register a file state handler. | |
| void | UnRegisterFileObject (FileStateHandler *file) |
| Un-register a file state handler. | |
| void | Lock () |
| Lock the task. | |
| void | UnLock () |
| Un-lock the task. | |
| virtual time_t | Run (time_t now) |
| Perform the task's action. | |
Private Attributes | |
| std::set< FileStateHandler * > | pFileObjects |
| XrdSysMutex | pMutex |
Task generating timeout events for FileStateHandlers in recovery mode.
| XrdCl::FileTimer::FileTimer | ( | ) | [inline] |
Constructor.
References XrdCl::Task::SetName().
| virtual XrdCl::FileTimer::~FileTimer | ( | ) | [inline, virtual] |
Destructor.
| void XrdCl::FileTimer::Lock | ( | ) | [inline] |
Lock the task.
References XrdSysMutex::Lock(), and pMutex.
| void XrdCl::FileTimer::RegisterFileObject | ( | FileStateHandler * | file | ) | [inline] |
Register a file state handler.
References pFileObjects, and pMutex.
| virtual time_t XrdCl::FileTimer::Run | ( | time_t | now | ) | [virtual] |
Perform the task's action.
Implements XrdCl::Task.
| void XrdCl::FileTimer::UnLock | ( | ) | [inline] |
Un-lock the task.
References pMutex, and XrdSysMutex::UnLock().
| void XrdCl::FileTimer::UnRegisterFileObject | ( | FileStateHandler * | file | ) | [inline] |
Un-register a file state handler.
References pFileObjects, and pMutex.
std::set<FileStateHandler*> XrdCl::FileTimer::pFileObjects [private] |
Referenced by RegisterFileObject(), and UnRegisterFileObject().
XrdSysMutex XrdCl::FileTimer::pMutex [private] |
Referenced by Lock(), RegisterFileObject(), UnLock(), and UnRegisterFileObject().
1.6.1