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 "mythchrono.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 : std::uint8_t { kHKGlobal = 0, kHKLocal, kHKInst }
 
enum  HouseKeeperStartup : std::uint8_t { kHKNormal = 0, kHKRunOnStartup, kHKRunImmediateOnStartup }
 

Enumeration Type Documentation

◆ HouseKeeperScope

enum HouseKeeperScope : std::uint8_t
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 25 of file housekeeper.h.

◆ HouseKeeperStartup

enum HouseKeeperStartup : std::uint8_t
Enumerator
kHKNormal 

task is checked normally

kHKRunOnStartup 

task is queued when HouseKeeper is started

kHKRunImmediateOnStartup 

task is run during HouseKeeper startup

Definition at line 34 of file housekeeper.h.