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


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