LeviLamina
Loading...
Searching...
No Matches
DBStorageEnvironmentChain.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/PathBuffer.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8
9// auto generated forward declare list
10// clang-format off
13class FlushableEnv;
14class LevelDbEnv;
15class SnapshotEnv;
16namespace Core { class FileStorageArea; }
17namespace Core { class Path; }
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::EncryptedProxyEnv>> mEncryptedEnv;
25 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FlushableEnv>> mFlushableEnv;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FlushableEnv>> mPreSnapshotBufferEnv;
27 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SnapshotEnv>> mSnapshotEnv;
28 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CompactionListenerEnv>> mCompactionListenerEnv;
29 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv>> mLevelDbEnv;
30 ::ll::TypedStorage<8, 8, ::leveldb::Env*> mWrappedEnv;
31 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mDbPath;
32 // NOLINTEND
33
34public:
35 // static functions
36 // NOLINTBEGIN
37 MCAPI static ::std::unique_ptr<::FlushableEnv> createFlushableEnv(
38 ::leveldb::Env* currentEnv,
39 ::std::shared_ptr<::Core::FileStorageArea> storageAreaForLevel,
40 ::Core::Path const& dbPath
41 );
42 // NOLINTEND
43};
Definition CompactionListenerEnv.h:5
Definition FileStorageArea.h:30
Definition Path.h:11
Definition DBStorageEnvironmentChain.h:20
Definition EncryptedProxyEnv.h:13
Definition FlushableEnv.h:5
Definition LevelDbEnv.h:8
Definition SnapshotEnv.h:14