a
This commit is contained in:
parent
748577d9f5
commit
c43992aa04
@ -4,7 +4,7 @@ kotlin.code.style=official
|
|||||||
specifyKotlinAsDependency=false
|
specifyKotlinAsDependency=false
|
||||||
|
|
||||||
projectGroup=ru.dbotthepony.kommons
|
projectGroup=ru.dbotthepony.kommons
|
||||||
projectVersion=2.3.0
|
projectVersion=2.3.1
|
||||||
|
|
||||||
guavaDepVersion=33.0.0
|
guavaDepVersion=33.0.0
|
||||||
gsonDepVersion=2.8.9
|
gsonDepVersion=2.8.9
|
||||||
|
@ -53,6 +53,10 @@ private fun readHeader(reader: RandomAccessFile, required: Char) {
|
|||||||
class BTreeDB6 private constructor(override val file: File, private val reader: RandomAccessFile, pool: Executor) : ByteDataBTreeDB<ByteKey>() {
|
class BTreeDB6 private constructor(override val file: File, private val reader: RandomAccessFile, pool: Executor) : ByteDataBTreeDB<ByteKey>() {
|
||||||
constructor(file: File, pool: Executor) : this(file, RandomAccessFile(file, "rws"), pool)
|
constructor(file: File, pool: Executor) : this(file, RandomAccessFile(file, "rws"), pool)
|
||||||
|
|
||||||
|
init {
|
||||||
|
reader.seek(0L)
|
||||||
|
}
|
||||||
|
|
||||||
private val carrier = CarriedExecutor(pool)
|
private val carrier = CarriedExecutor(pool)
|
||||||
|
|
||||||
init {
|
init {
|
||||||
|
Loading…
Reference in New Issue
Block a user