Package net.sodacan.core.persist.rocks
Class RocksPersisterFactory
java.lang.Object
net.sodacan.core.persist.rocks.RocksPersisterFactory
- All Implemented Interfaces:
Closeable
,AutoCloseable
,PersisterFactory
Only one persister factory in a host so this is where we open RocksDb.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RocksPersisterFactory
-
-
Method Details
-
makeHostFolder
-
create
- Specified by:
create
in interfacePersisterFactory
-
open
public void open()Persister must call this to open the db.- Specified by:
open
in interfacePersisterFactory
-
getConfig
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-