33 virtual void addStorageObserver(::std::unique_ptr<::LevelStorageObserver>) ;
36 virtual ::std::unique_ptr<::CompoundTag> getCompoundTag(::std::string
const&, ::DBHelpers::Category) ;
39 virtual bool hasKey(::std::string_view, ::DBHelpers::Category)
const ;
42 virtual void forEachKeyWithPrefix(
44 ::DBHelpers::Category,
45 ::std::function<
void(::std::string_view, ::std::string_view)>
const&
52 virtual ::std::unique_ptr<::ChunkSource>
53 createChunkStorage(::std::unique_ptr<::ChunkSource>, ::StorageVersion) ;
59 virtual ::Core::PathBuffer<::std::string>
const& getFullPath()
const ;
62 virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<void>>
63 saveData(::std::string
const&, ::std::string&&, ::DBHelpers::Category) ;
66 virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<void>>
70 virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<void>>
71 deleteData(::std::string
const&, ::DBHelpers::Category) ;
74 virtual void getStatistics(::std::string&, ::LevelStorage::StatsType)
const ;
77 virtual ::Core::LevelStorageResult getLevelStorageState()
const ;
80 virtual ::ContentIdentity
const* getContentIdentity()
const ;
83 virtual void startShutdown() ;
86 virtual bool isShuttingDown()
const ;
89 virtual bool checkShutdownDone() ;
92 virtual ::Core::LevelStorageResult getState()
const ;
95 virtual ::std::vector<::SnapshotFilenameAndLength> createSnapshot(::std::string
const&,
bool) ;
98 virtual void releaseSnapshot() ;
101 virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<void>> compactStorage() ;
104 virtual void syncAndSuspendStorage() ;
107 virtual void resumeStorage() ;
110 virtual void setFlushAllowed(
bool) ;
113 virtual void flushToPermanentStorage() ;
116 virtual void setCompactionCallback(::std::function<
void(::CompactionStatus)>) ;
119 virtual void setCriticalSyncSaveCallback(::std::function<
void()>) ;
Definition ContentIdentity.h:8