Class/Object

swaydb.core.io.file

DBFile

Related Docs: object DBFile | package file

Permalink

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

Instance Constructors

  1. new DBFile(path: Path, memoryMapped: Boolean, memory: Boolean, autoClose: Boolean, file: Option[DBFileType])(implicit ec: ExecutionContext, limiter: FileLimiter)

    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: Slice[Byte]): IO[Unit]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

    Permalink
    Definition Classes
    DBFile → FileLimiterItem
  8. def copyTo(toPath: Path): IO[Path]

    Permalink
  9. def delete(): IO[Unit]

    Permalink
    Definition Classes
    DBFile → FileLimiterItem
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    DBFile → AnyRef → Any
  12. def existsInMemory: Boolean

    Permalink
  13. def existsOnDisk: Boolean

    Permalink
  14. var file: Option[DBFileType]

    Permalink
  15. def fileSize: IO[Long]

    Permalink
  16. def forceSave(): IO[Unit]

    Permalink
  17. def get(position: Int): IO[Byte]

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

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

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

    Permalink
  21. def isFull: IO[Boolean]

    Permalink
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def isLoaded: IO[Boolean]

    Permalink
  24. def isMemoryMapped: IO[Boolean]

    Permalink
  25. def isOpen: Boolean

    Permalink
    Definition Classes
    DBFile → FileLimiterItem
  26. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  27. val memory: Boolean

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    DBFile → FileLimiterItem
  32. def persistent: Boolean

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

    Permalink
  34. def readAll: IO[Slice[Byte]]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. 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 FileLimiterItem

Inherited from AnyRef

Inherited from Any

Ungrouped