MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / DocumentLayer

Class DocumentLayer

src/DocLayer.h:47–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45};
46
47struct DocumentLayer : ReferenceCounted<DocumentLayer>, NonCopyable {
48 DocumentLayer(ConnectionOptions defaultConnectionOptions,
49 Reference<FDB::Database> database,
50 Reference<DirectorySubspace> rootDirectory)
51 : defaultConnectionOptions(defaultConnectionOptions),
52 database(database),
53 backgroundTasks(false),
54 rootDirectory(rootDirectory),
55 mm(new MetadataManager(this)) {}
56
57 Reference<FDB::Database> database;
58 Reference<MetadataManager> mm;
59 ConnectionOptions defaultConnectionOptions;
60 ActorCollection backgroundTasks;
61 Reference<DirectorySubspace> rootDirectory;
62 static IMetricReporter* metricReporter;
63
64 // Stats
65 uint32_t nrConnections = 0;
66};
67
68#endif /* _DOCLAYER_H_ */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected