aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/server/document_db_config_owner.cpp
blob: 725771e9cd7dfe0f01f40d5061bd4a9a5c1d14f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "document_db_config_owner.h"
#include "document_db_directory_holder.h"

namespace proton {

DocumentDBConfigOwner::DocumentDBConfigOwner()
    : _holder(std::make_shared<DocumentDBDirectoryHolder>())
{
}

DocumentDBConfigOwner::~DocumentDBConfigOwner() = default;

std::shared_ptr<DocumentDBDirectoryHolder>
DocumentDBConfigOwner::getDocumentDBDirectoryHolder()
{
    return _holder;
};

} // namespace proton