Hello team,
I'm passing a same DB object reference to multiple threads, and they
all will invoke commit() method. I hope DB object is thread-safe.
Please correct me if that is NOT the case.
DB db = DBMaker.fileDB("file.db")
.checksumHeaderBypass()
.transactionEnable()
.closeOnJvmShutdown()
.make();
db reference will be passed to multiple threads, and they can invoke commit().
Thank you
Hitesh