summaryrefslogtreecommitdiffstats
path: root/src/journal/JournalMetadata.h
diff options
context:
space:
mode:
authorJason Dillaman <dillaman@redhat.com>2016-07-18 17:01:26 +0200
committerJason Dillaman <dillaman@redhat.com>2016-07-21 18:52:57 +0200
commitf7362e9a57e484fffd840ca0eef01778dcacb65b (patch)
tree6fc6b56c123e8d07bb50c46b0e4f29b46ec84fd9 /src/journal/JournalMetadata.h
parentjournal: helper class for organizing optional settings (diff)
downloadceph-f7362e9a57e484fffd840ca0eef01778dcacb65b.tar.xz
ceph-f7362e9a57e484fffd840ca0eef01778dcacb65b.zip
journal: optionally fetch entries in small chunks during replay
Support fetching the full object or incremental chunks (with a minimum of at least a single decoded entry if available). Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'src/journal/JournalMetadata.h')
-rw-r--r--src/journal/JournalMetadata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/journal/JournalMetadata.h b/src/journal/JournalMetadata.h
index 046e77dac7b..01116d7d1e0 100644
--- a/src/journal/JournalMetadata.h
+++ b/src/journal/JournalMetadata.h
@@ -74,6 +74,9 @@ public:
void get_tags(const boost::optional<uint64_t> &tag_class, Tags *tags,
Context *on_finish);
+ inline const Settings &get_settings() const {
+ return m_settings;
+ }
inline const std::string &get_client_id() const {
return m_client_id;
}