blob: af32619f616a4a99131314c60235ddbc4616cb89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "abstractpersistenceprovider.h"
#include <vespa/document/base/documentid.h>
#include <vespa/vespalib/util/idestructorcallback.h>
namespace storage::spi {
void
AbstractPersistenceProvider::removeIfFoundAsync(const Bucket& b, Timestamp timestamp,
const DocumentId& id, OperationComplete::UP onComplete)
{
std::vector<IdAndTimestamp> ids;
ids.emplace_back(id, timestamp);
removeAsync(b, std::move(ids), std::move(onComplete));
}
BucketIdListResult
AbstractPersistenceProvider::getModifiedBuckets(BucketSpace) const
{
return BucketIdListResult(BucketIdListResult::List());
}
}
|