|
virtual void | addStorageObserver (::std::unique_ptr<::LevelStorageObserver > observer) |
|
virtual bool | loadedSuccessfully () const |
|
virtual::Core::LevelStorageResult | getState () const |
|
virtual ::std::unique_ptr<::ChunkSource > | createChunkStorage (::std::unique_ptr<::ChunkSource >, ::StorageVersion) |
|
virtual ::Core::PathBuffer<::std::string > const & | getFullPath () const |
|
virtual ::std::unique_ptr<::CompoundTag > | getCompoundTag (::std::string const &key, ::DBHelpers::Category category) |
|
virtual bool | hasKey (::std::string_view key, ::DBHelpers::Category category) const |
|
virtual bool | loadLevelData (::LevelData &data) |
|
virtual void | saveLevelData (::LevelData const &levelData) |
|
virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > | saveData (::std::string const &key, ::std::string &&data, ::DBHelpers::Category category) |
|
virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > | saveData (::LevelStorageWriteBatch const &batch) |
|
virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > | deleteData (::std::string const &key, ::DBHelpers::Category category) |
|
virtual bool | loadData (::std::string_view key, ::std::string &buffer, ::DBHelpers::Category category) const |
|
virtual void | forEachKeyWithPrefix (::std::string_view prefix, ::DBHelpers::Category category, ::std::function< void(::std::string_view, ::std::string_view)> const &callback) const |
|
virtual::Core::LevelStorageResult | getLevelStorageState () const |
|
virtual::ContentIdentity const * | getContentIdentity () const |
|
virtual void | startShutdown () |
|
virtual bool | isShuttingDown () const |
|
virtual bool | checkShutdownDone () |
|
virtual void | getStatistics (::std::string &outStats, ::LevelStorage::StatsType statsType) const |
|
virtual ::std::vector<::SnapshotFilenameAndLength > | createSnapshot (::std::string const &filePrefix, bool flushWriteCache) |
|
virtual void | releaseSnapshot () |
|
virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > | compactStorage () |
|
virtual void | syncAndSuspendStorage () |
|
virtual void | resumeStorage () |
|
virtual void | setFlushAllowed (bool flushAllowed) |
|
virtual void | flushToPermanentStorage () |
|
virtual void | freeCaches () |
|
virtual void | setCompactionCallback (::std::function< void(::CompactionStatus)> callback) |
|
virtual void | setCriticalSyncSaveCallback (::std::function< void()> callback) |
|
MCAPI | DBStorage (::DBStorageConfig config, ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv > levelDbEnv) |
|
MCAPI::TaskResult | _flushWriteCacheToLevelDB () |
|
MCAPI ::std::map<::std::string, ::DBStorage::PendingWriteResult > | _getAllPendingWrites () const |
|
MCAPI::std::string | _getTelemetryMessage (::leveldb::Status const &status) const |
|
MCAPI void | _handleErrorStatus (::leveldb::Status const &status) |
|
MCAPI void | _markAsCorrupted (::std::string_view message) const |
|
MCAPI void | _mergeIntoWriteCache (::LevelStorageWriteBatch const &batchToMerge) |
|
MCAPI void | _mergeIntoWriteCache (::std::string const &key, ::std::string &&data, ::DBHelpers::Category category) |
|
MCAPI void | _queueSaveCallback (bool invokeImmediately) |
|
MCAPI void | _read (::std::string_view prefix, ::DBHelpers::Category category, ::std::function< void(::std::string_view, ::std::string_view)> const &callback) const |
|
MCAPI::DBStorage::PendingWriteResult | _readPendingWrite (::std::string const &key, ::DBHelpers::Category category) const |
|
MCAPI void | _scheduleNextAutoCompaction () |
|
MCAPI bool | _suspendAndPerformSaveAction (::brstd::move_only_function<::TaskResult()> action, ::brstd::move_only_function< void()> callback) |
|
MCAPI bool | tryRepair (::Core::Path const &path) const |
|
MCAPI void * | $ctor (::DBStorageConfig config, ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv > levelDbEnv) |
|
MCAPI void | $dtor () |
|
MCAPI void | $addStorageObserver (::std::unique_ptr<::LevelStorageObserver > observer) |
|
MCAPI bool | $loadedSuccessfully () const |
|
MCFOLD::Core::LevelStorageResult | $getState () const |
|
MCFOLD ::Core::PathBuffer<::std::string > const & | $getFullPath () const |
|
MCAPI ::std::unique_ptr<::CompoundTag > | $getCompoundTag (::std::string const &key, ::DBHelpers::Category category) |
|
MCAPI bool | $hasKey (::std::string_view key, ::DBHelpers::Category category) const |
|
MCAPI bool | $loadLevelData (::LevelData &data) |
|
MCAPI void | $saveLevelData (::LevelData const &levelData) |
|
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > | $saveData (::std::string const &key, ::std::string &&data, ::DBHelpers::Category category) |
|
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > | $saveData (::LevelStorageWriteBatch const &batch) |
|
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > | $deleteData (::std::string const &key, ::DBHelpers::Category category) |
|
MCAPI bool | $loadData (::std::string_view key, ::std::string &buffer, ::DBHelpers::Category category) const |
|
MCAPI void | $forEachKeyWithPrefix (::std::string_view prefix, ::DBHelpers::Category category, ::std::function< void(::std::string_view, ::std::string_view)> const &callback) const |
|
MCFOLD::Core::LevelStorageResult | $getLevelStorageState () const |
|
MCFOLD::ContentIdentity const * | $getContentIdentity () const |
|
MCAPI void | $startShutdown () |
|
MCAPI bool | $isShuttingDown () const |
|
MCAPI bool | $checkShutdownDone () |
|
MCAPI void | $getStatistics (::std::string &outStats, ::LevelStorage::StatsType statsType) const |
|
MCAPI ::std::vector<::SnapshotFilenameAndLength > | $createSnapshot (::std::string const &filePrefix, bool flushWriteCache) |
|
MCAPI void | $releaseSnapshot () |
|
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > | $compactStorage () |
|
MCAPI void | $syncAndSuspendStorage () |
|
MCAPI void | $resumeStorage () |
|
MCAPI void | $setFlushAllowed (bool flushAllowed) |
|
MCAPI void | $flushToPermanentStorage () |
|
MCAPI void | $freeCaches () |
|
MCAPI void | $setCompactionCallback (::std::function< void(::CompactionStatus)> callback) |
|
MCAPI void | $setCriticalSyncSaveCallback (::std::function< void()> callback) |
|
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > | saveData (::std::string const &key, ::CompoundTag const &tag, ::DBHelpers::Category category) |
|
virtual bool | clonePlayerData (::std::string_view fromKey, ::std::string_view toKey) |
|
virtual void | corruptLevel () |
|
MCAPI::std::string | getServerId (::Player const &client, bool isXboxLive) |
|
MCAPI ::std::vector<::std::string > | loadAllPlayerIDs (bool includeLocalPlayer) const |
|
MCAPI ::std::unique_ptr<::CompoundTag > | loadServerPlayerData (::Player const &client, bool isXboxLive) |
|
MCAPI void | save (::Player &player) |
|
MCAPI bool | $clonePlayerData (::std::string_view fromKey, ::std::string_view toKey) |
|
MCFOLD void | $corruptLevel () |
|
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DBStorageEnvironmentChain > > | mEnvChain |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::leveldb::Cache > > | mCache |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::leveldb::FilterPolicy const > > | mFilterPolicy |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::leveldb::Compressor > > | mCompressor |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::leveldb::Compressor > > | mLegacyCompressor |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DBStorage::Options > > | mOptions |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::leveldb::DecompressAllocator > > | mDecompressAllocator |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::leveldb::DB > > | mDb |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > | mIOTaskGroup |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > | mCompactionTaskGroup |
|
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > > | mCompactionTask |
|
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > > | mWriteTask |
|
::ll::TypedStorage< 8, 40, ::Core::LevelStorageResult > | mState |
|
::ll::TypedStorage< 8, 8, ::ContentIdentity const * > | mContentIdentity |
|
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > | mFullPath |
|
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > | mDbPath |
|
::ll::TypedStorage< 8, 32, ::std::string > | mLevelId |
|
::ll::TypedStorage< 8, 80, ::Bedrock::Threading::Mutex > | mCompactionMutex |
|
::ll::TypedStorage< 8, 8, ::std::shared_mutex > | mWriteCacheMutex |
|
::ll::TypedStorage< 8, 80, ::Bedrock::Threading::Mutex > | mCacheFlushMutex |
|
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > | mLastCompactionStartTime |
|
::ll::TypedStorage< 8, 8, ::std::chrono::nanoseconds > | mCompactionInterval |
|
::ll::TypedStorage< 8, 8, ::std::chrono::nanoseconds > | mWriteFlushInterval |
|
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > | mAllowFlush |
|
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > | mSavingInProgress |
|
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > | mSnapshotInProgress |
|
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > | mShutdownStarted |
|
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > | mNoMoreWrites |
|
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > | mShutdownDone |
|
::ll::TypedStorage< 4, 4, ::std::atomic< int > > | mOutstandingJobs |
|
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::SaveTransactionManager > > | mSaveTransactionManager |
|
::ll::TypedStorage< 8, 64, ::std::function< void()> > | mCriticalSyncSaveCallback |
|
::ll::TypedStorage< 8, 64, ::std::function< void(::CompactionStatus)> > | mExternallyRegisteredCompactionCallback |
|
::ll::TypedStorage< 8, 40, ::brstd::flat_set<::DBChunkStorage *, ::std::less<::DBChunkStorage * >, ::std::vector<::DBChunkStorage * > > > | mChunkStorages |
|
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::LevelStorageObserver > > > | mObservers |
|
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > | mDestructorInProgress |
|
::ll::TypedStorage< 1, 1, bool > | mForceCorrupt |
|
::ll::TypedStorage< 1, 1, bool const > | mStorageEnabled |
|
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > | mDbSubfolder |
|
::ll::TypedStorage< 8, 128, ::LevelStorageWriteBatch > | mSingleKeyWrites |
|
::ll::TypedStorage< 8, 24, ::std::vector<::LevelStorageWriteBatch > > | mBatchWrites |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::LevelStorageEventing > > | mEventing |
|
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv > > | mLevelDbEnv |
|
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::DBStorageFolderWatcher > > > | mFolderTelemetryWatcher |
|
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > | mNextSizeTelemetryCaptureTime |
|
::ll::TypedStorage< 8, 8, ::std::chrono::nanoseconds const > | mSizeTelemetryCaptureInterval |
|
::ll::TypedStorage< 8, 192, ::DBStoragePerformanceTelemetry > | mDBStoragePerformanceTelemetry |
|