summaryrefslogtreecommitdiffstats
path: root/src/tools/cephfs_mirror/Watcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cephfs_mirror/Watcher.h')
-rw-r--r--src/tools/cephfs_mirror/Watcher.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/cephfs_mirror/Watcher.h b/src/tools/cephfs_mirror/Watcher.h
index 9e7c54eebbb..a0c51401170 100644
--- a/src/tools/cephfs_mirror/Watcher.h
+++ b/src/tools/cephfs_mirror/Watcher.h
@@ -28,6 +28,13 @@ public:
void register_watch(Context *on_finish);
void unregister_watch(Context *on_finish);
+ struct ErrorListener {
+ virtual ~ErrorListener() {
+ }
+ virtual void set_blocklisted_ts() = 0;
+ virtual void set_failed_ts() = 0;
+ };
+
protected:
std::string m_oid;