pub trait RocksDBProviderFactory {
// Required methods
fn rocksdb_provider(&self) -> RocksDBProvider;
fn set_pending_rocksdb_batch(&self, batch: WriteBatchWithTransaction<true>);
}Available on crate feature
provider only.Expand description
RocksDB provider factory.
This trait provides access to the RocksDB provider
Required Methods§
Sourcefn rocksdb_provider(&self) -> RocksDBProvider
fn rocksdb_provider(&self) -> RocksDBProvider
Returns the RocksDB provider.
Sourcefn set_pending_rocksdb_batch(&self, batch: WriteBatchWithTransaction<true>)
Available on Unix and crate feature rocksdb only.
fn set_pending_rocksdb_batch(&self, batch: WriteBatchWithTransaction<true>)
rocksdb only.Adds a pending RocksDB batch to be committed when this provider is committed.
This allows deferring RocksDB commits to happen at the same time as MDBX and static file
commits, ensuring atomicity across all storage backends.