Class/Object

swaydb.core.io.file

DBFile

Related Docs: object DBFile | package file

Permalink

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

Instance Constructors

  1. new DBFile(path: Path, memoryMapped: Boolean, autoClose: Boolean, blockCacheFileId: Long, fileCache: Cache[Error.IO, Unit, DBFileType])(implicit blockCache: Option[State])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def append(slice: Iterable[Slice[Byte]]): Unit

    Permalink
  5. def append(slice: Slice[Byte]): Unit

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val blockCacheFileId: Long

    Permalink
  8. def blockSize: Option[Int]

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def close(): Unit

    Permalink
  11. def copyTo(toPath: Path): Path

    Permalink
  12. def delete(): Unit

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    DBFile → AnyRef → Any
  15. def existsOnDisk: Boolean

    Permalink
  16. def file: DBFileType

    Permalink
  17. def fileSize: Long

    Permalink
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def forceSave(): Unit

    Permalink
  20. def get(position: Int): Byte

    Permalink
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    DBFile → AnyRef → Any
  23. def isFileDefined: Boolean

    Permalink
  24. def isFull: Boolean

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def isLoaded: Boolean

    Permalink
  27. def isMemoryMapped: Boolean

    Permalink
  28. def isOpen: Boolean

    Permalink
  29. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. val path: Path

    Permalink
  34. def read(position: Int, size: Int, blockCache: State): Slice[Byte]

    Permalink
  35. def read(position: Int, size: Int): Slice[Byte]

    Permalink
  36. def readAll: Slice[Byte]

    Permalink
  37. def readBlock(position: Int): Option[Slice[Byte]]

    Permalink
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped