aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-01-20 09:47:08 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-01-20 09:47:08 +0000
commitc5c86dd6b6f0baf2b807ed9cd2dbc16bb507cab8 (patch)
treed3f002e7826b732a63d61c15294fb2301e5466f4 /storage
parent5e676a8ffc0034848366293ad744e0850c585884 (diff)
Add class comments.
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/persistence/messages.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/storage/src/vespa/storage/persistence/messages.h b/storage/src/vespa/storage/persistence/messages.h
index 55ca87a1941..3b49365d560 100644
--- a/storage/src/vespa/storage/persistence/messages.h
+++ b/storage/src/vespa/storage/persistence/messages.h
@@ -238,6 +238,9 @@ public:
void print(std::ostream& out, bool verbose, const std::string& indent) const override;
};
+
+// Internal Command task for bringing along a Bucket and a BucketTask in
+// the inner workings of the storagelink chain.
class RunTaskCommand : public api::InternalCommand {
public:
static const uint32_t ID = 1011;
@@ -252,9 +255,10 @@ public:
private:
std::unique_ptr<spi::BucketTask> _task;
- spi::Bucket _bucket;
+ spi::Bucket _bucket;
};
+// Simple reply for matching the RunTaskCommand
class RunTaskReply : public api::InternalReply
{
public:
@@ -263,6 +267,5 @@ private:
static const uint32_t ID = 1012;
};
-
} // ns storage