summaryrefslogtreecommitdiff
path: root/src/blissful_monitor.hh
blob: d4a1d28b195ec845b2bc9237470664a665e139ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef BLISSFUL_MONITOR_HH
#define BLISSFUL_MONITOR_HH

#include "monitor.hh"

/**
 * A monitor that will try to hide problems, like never finished requests
 * or jobs and things like that.
 */
class BlissfulMonitor : public Monitor {
public:
  static std::unique_ptr<Monitor> create(std::shared_ptr<Looper> const& looper,
                                         std::unique_ptr<Monitor>&& monitor);
};

#endif  // BLISSFUL_MONITOR_HH