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
    @HotSpotIntrinsicCandidate() @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 forceSave(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  21. def hashCode(): Int

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

    Permalink
  23. def isFull: Boolean

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def isLoaded: Boolean

    Permalink
  26. def isMemoryMapped: Boolean

    Permalink
  27. def isOpen: Boolean

    Permalink
  28. lazy val logger: Logger

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  32. val path: Path

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

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

    Permalink
  35. def readAll: Slice[Byte]

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped