Object/Trait

swaydb.data.config

ForceSave

Related Docs: trait ForceSave | package config

Permalink

object ForceSave

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ForceSave
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class BeforeClean(enableBeforeCopy: Boolean, enableForReadOnlyMode: Boolean, logBenchmark: Boolean) extends MMAPFiles with Product with Serializable

    Permalink

    Enables force save before a memory-mapped file are cleaned.

    Enables force save before a memory-mapped file are cleaned.

    enableBeforeCopy

    if true enables BeforeCopy

    enableForReadOnlyMode

    if true will also apply forceSave to files are they are opened in readOnly mode. This is required for situations where a database instance was closed without properly closing all files. Depending on the operating system, re-opening same database instance might use the same MappedByteBuffer which might not be flushed/force saved. Setting this to true will cover those situations.

    logBenchmark

    if true logs time taken to forceSave.

  2. case class BeforeClose(enableBeforeCopy: Boolean, enableForReadOnlyMode: Boolean, logBenchmark: Boolean) extends MMAPFiles with ChannelFiles with Product with Serializable

    Permalink

    Enables force save before the file is closed.

    Enables force save before the file is closed. This applies to both memory-mapped and file-channel files.

    enableBeforeCopy

    if true enables BeforeCopy

    enableForReadOnlyMode

    if true will also apply forceSave to files are they are opened in readOnly mode. This is required for situations where a database instance was closed without properly closing all files. Depending on the operating system, re-opening same database instance might use the same MappedByteBuffer which might not be flushed/force saved. Setting this to true will cover those situations.

    logBenchmark

    if true logs time taken to forceSave.

  3. case class BeforeCopy(enableForReadOnlyMode: Boolean, logBenchmark: Boolean) extends MMAPFiles with ChannelFiles with Product with Serializable

    Permalink

    Enabled force save only before copying a file.

    Enabled force save only before copying a file.

    enableForReadOnlyMode

    if true will also apply forceSave to files are they are opened in readOnly mode. This is required for situations where a database instance was closed without properly closing all files. Depending on the operating system, re-opening same database instance might use the same MappedByteBuffer which might not be flushed/force saved. Setting this to true will cover those situations.

    logBenchmark

    if true logs time taken to forceSave.

  4. sealed trait ChannelFiles extends ForceSave

    Permalink

    ForceSave configurations that can be applied to java.nio.channels.FileChannel files only.

  5. sealed trait Disabled extends MMAPFiles with ChannelFiles

    Permalink

    Disables force save for all cases.

  6. sealed trait MMAPFiles extends ForceSave

    Permalink

    ForceSave configurations that can be applied to memory-mapped (java.nio.MappedByteBuffer) files only.

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. object Disabled extends Disabled with Product with Serializable

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def beforeClean(enableBeforeCopy: Boolean, enableForReadOnlyMode: Boolean, logBenchmark: Boolean): BeforeClean

    Permalink
  7. def beforeClose(enableBeforeCopy: Boolean, enableForReadOnlyMode: Boolean, logBenchmark: Boolean): BeforeClose

    Permalink
  8. def beforeCopy(enableForReadOnlyMode: Boolean, logBenchmark: Boolean): BeforeCopy

    Permalink
  9. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped