class DBFile extends LazyLogging
Wrapper class for different file types of DBFileType.
Responsible for lazy loading files for reads and opening closed files in a thread safe manner.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DBFile
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DBFile(path: Path, memoryMapped: Boolean, autoClose: Boolean, deleteAfterClean: Boolean, forceSaveConfig: ForceSave, blockCacheFileId: Long, fileCache: Cache[Error.IO, Unit, DBFileType])(implicit blockCache: Option[State], bufferCleaner: ByteBufferSweeperActor, forceSaveApplied: ForceSaveApplier)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def append(slice: Iterable[Slice[Byte]]): Unit
- def append(slice: Slice[Byte]): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val autoClose: Boolean
- val blockCacheFileId: Long
- def blockSize: Option[Int]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def close(): Unit
- def copyTo(toPath: Path): Path
- def delete(): Unit
- val deleteAfterClean: Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- DBFile → AnyRef → Any
- def existsOnDisk: Boolean
- def file: DBFileType
- def fileSize: Long
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def forceSave(): Unit
- val forceSaveConfig: ForceSave
- def get(position: Int): Byte
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- DBFile → AnyRef → Any
- def isFileDefined: Boolean
- def isFull: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLoaded: Boolean
- def isMemoryMapped: Boolean
- def isOpen: Boolean
- lazy val logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
- val memoryMapped: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val path: Path
- def read(position: Int, size: Int, blockCache: State): Slice[Byte]
- def read(position: Int, size: Int): Slice[Byte]
- def readAll: Slice[Byte]
- def readBlock(position: Int): Option[Slice[Byte]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()