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:
createin interfacePersisterFactory
-
open
public void open()Persister must call this to open the db.- Specified by:
openin interfacePersisterFactory
-
getConfig
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-