summaryrefslogtreecommitdiffstats
path: root/src/journal/ReplayHandler.h
blob: d0967c68d7e35f2177747a8f136cbf2f7ae1a222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_JOURNAL_REPLAY_HANDLER_H
#define CEPH_JOURNAL_REPLAY_HANDLER_H

namespace journal {

struct ReplayHandler {
  virtual void handle_entries_available() = 0;
  virtual void handle_complete(int r) = 0;
  virtual ~ReplayHandler() {}
};

} // namespace journal

#endif // CEPH_JOURNAL_REPLAY_HANDLER_H