Packages

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
LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DBFile
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def append(slice: Iterable[Slice[Byte]]): Unit
  5. def append(slice: Slice[Byte]): Unit
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val autoClose: Boolean
  8. val blockCacheFileId: Long
  9. def blockSize: Option[Int]
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def close(): Unit
  12. def copyTo(toPath: Path): Path
  13. def delete(): Unit
  14. val deleteAfterClean: Boolean
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(that: Any): Boolean
    Definition Classes
    DBFile → AnyRef → Any
  17. def existsOnDisk: Boolean
  18. def file: DBFileType
  19. def fileSize: Long
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def forceSave(): Unit
  22. val forceSaveConfig: ForceSave
  23. def get(position: Int): Byte
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def hashCode(): Int
    Definition Classes
    DBFile → AnyRef → Any
  26. def isFileDefined: Boolean
  27. def isFull: Boolean
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def isLoaded: Boolean
  30. def isMemoryMapped: Boolean
  31. def isOpen: Boolean
  32. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  33. val memoryMapped: Boolean
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. val path: Path
  38. def read(position: Int, size: Int, blockCache: State): Slice[Byte]
  39. def read(position: Int, size: Int): Slice[Byte]
  40. def readAll: Slice[Byte]
  41. def readBlock(position: Int): Option[Slice[Byte]]
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped