forked from ydb-platform/nbs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
50 lines (34 loc) · 1.1 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#pragma once
#include "config.h"
#include <cloud/filestore/config/vfs.pb.h>
#include <util/datetime/base.h>
#include <util/generic/string.h>
namespace NCloud::NFileStore::NVFS {
////////////////////////////////////////////////////////////////////////////////
struct TVFSConfig
{
private:
const NProto::TVFSConfig ProtoConfig;
public:
TVFSConfig(const NProto::TVFSConfig& protoConfig)
: ProtoConfig(protoConfig)
{}
TString GetFileSystemId() const;
TString GetClientId() const;
TString GetSocketPath() const;
TString GetMountPath() const;
bool GetReadOnly() const;
bool GetDebug() const;
TDuration GetLockRetryTimeout() const;
ui32 GetMaxWritePages() const;
ui32 GetMaxBackground() const;
ui64 GetMountSeqNumber() const;
ui32 GetVhostQueuesCount() const;
ui32 GetXAttrCacheSize() const;
TDuration GetXAttrCacheTimeout() const;
TString GetHandleOpsQueuePath() const;
ui32 GetHandleOpsQueueSize() const;
void Dump(IOutputStream& out) const;
void DumpHtml(IOutputStream& out) const;
};
} // namespace NCloud::NFileStore::NVFS