MythTV  master
Classes | Enumerations
housekeeper.h File Reference
#include <QWaitCondition>
#include <QDateTime>
#include <QString>
#include <QEvent>
#include <QTimer>
#include <QMutex>
#include <QQueue>
#include <QList>
#include <QMap>
#include <QPair>
#include "mthread.h"
#include "mythdate.h"
#include "mythevent.h"
#include "mythbaseexp.h"
#include "referencecounter.h"
Include dependency graph for housekeeper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HouseKeeperTask
 Definition for a single task to be run by the HouseKeeper. More...
 
class  PeriodicHouseKeeperTask
 Modified HouseKeeperTask for tasks to be run at a regular interval. More...
 
class  DailyHouseKeeperTask
 Modified PeriodicHouseKeeperTask for tasks to be run once daily. More...
 
class  HouseKeepingThread
 Thread used to perform queued HouseKeeper tasks. More...
 
class  HouseKeeper
 Manages registered HouseKeeperTasks and queues tasks for operation. More...
 

Enumerations

enum  HouseKeeperScope { kHKGlobal = 0, kHKLocal, kHKInst }
 
enum  HouseKeeperStartup { kHKNormal = 0, kHKRunOnStartup, kHKRunImmediateOnStartup }
 

Enumeration Type Documentation

◆ HouseKeeperScope

Enumerator
kHKGlobal 

task should only run once per cluster e.g.

mythfilldatabase

kHKLocal 

task should only run once per machine e.g.

hardware profile update

kHKInst 

task should run on every process e.g.

ServerPool update

Definition at line 24 of file housekeeper.h.

◆ HouseKeeperStartup

Enumerator
kHKNormal 

task is checked normally

kHKRunOnStartup 

task is queued when HouseKeeper is started

kHKRunImmediateOnStartup 

task is run during HouseKeeper startup

Definition at line 33 of file housekeeper.h.