Package io.camunda.zeebe.db.impl.rocksdb
Class ZeebeRocksDbFactory<ColumnFamilyType extends Enum<ColumnFamilyType>>
java.lang.Object
io.camunda.zeebe.db.impl.rocksdb.ZeebeRocksDbFactory<ColumnFamilyType>
- All Implemented Interfaces:
ZeebeDbFactory<ColumnFamilyType>
public final class ZeebeRocksDbFactory<ColumnFamilyType extends Enum<ColumnFamilyType>>
extends Object
implements ZeebeDbFactory<ColumnFamilyType>
-
Method Summary
Modifier and TypeMethodDescriptionCreates a zeebe database in the given directory.static <ColumnFamilyType extends Enum<ColumnFamilyType>>
ZeebeDbFactory<ColumnFamilyType>static <ColumnFamilyType extends Enum<ColumnFamilyType>>
ZeebeDbFactory<ColumnFamilyType>newFactory(RocksDbConfiguration rocksDbConfiguration)
-
Method Details
-
newFactory
public static <ColumnFamilyType extends Enum<ColumnFamilyType>> ZeebeDbFactory<ColumnFamilyType> newFactory() -
newFactory
public static <ColumnFamilyType extends Enum<ColumnFamilyType>> ZeebeDbFactory<ColumnFamilyType> newFactory(RocksDbConfiguration rocksDbConfiguration) -
createDb
Description copied from interface:ZeebeDbFactoryCreates a zeebe database in the given directory.- Specified by:
createDbin interfaceZeebeDbFactory<ColumnFamilyType extends Enum<ColumnFamilyType>>- Parameters:
pathName- the path where the database should be created- Returns:
- the created zeebe database
-