blob: dfaf859cfce0cbf60e8346f77e533e6f2369dfb0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "i_document_db_config_owner.h"
namespace proton {
/*
* class holding onto a document db directory.
*/
class DocumentDBDirectoryHolder
{
public:
DocumentDBDirectoryHolder();
~DocumentDBDirectoryHolder();
static void waitUntilDestroyed(const std::weak_ptr<DocumentDBDirectoryHolder> &holder);
};
} // namespace proton
|