blob: c8805cad1b30b92a3443d04159c279c969e27658 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/document/bucket/bucket.h>
namespace storage {
namespace api {
class StorageMessage;
}
/**
* @return msg's relevant bucket id. May be an internal message.
* @throws vespalib::IllegalArgumentException if msg does not
* have a bucket id.
*/
document::Bucket getStorageMessageBucket(const api::StorageMessage& msg);
}
|