Packages

o

swaydb

SwayDB

object SwayDB extends LazyLogging

Instance used for creating/initialising databases.

Linear Supertypes
LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SwayDB
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 apply[T, F](config: SwayDBMemoryConfig, fileCache: Enable, memoryCache: MemoryCache, threadStateCache: ThreadStateCache, cacheKeyValueIds: Boolean, shutdownTimeout: FiniteDuration)(implicit serializer: Serializer[T], functionClassTag: ClassTag[F], keyOrder: KeyOrder[Slice[Byte]]): IO[Boot, Set[T, F, Less]]
  5. def apply[K, V, F](config: SwayDBMemoryConfig, fileCache: Enable, memoryCache: MemoryCache, threadStateCache: ThreadStateCache, cacheKeyValueIds: Boolean, shutdownTimeout: FiniteDuration)(implicit keySerializer: Serializer[K], valueSerializer: Serializer[V], functionClassTag: ClassTag[F], keyOrder: KeyOrder[Slice[Byte]]): IO[Boot, Map[K, V, F, Less]]
  6. def apply[T, F](config: SwayDBPersistentConfig, fileCache: Enable, memoryCache: MemoryCache, threadStateCache: ThreadStateCache, cacheKeyValueIds: Boolean, shutdownTimeout: FiniteDuration)(implicit serializer: Serializer[T], functionClassTag: ClassTag[F], keyOrder: KeyOrder[Slice[Byte]]): IO[Boot, Set[T, F, Less]]
  7. def apply[K, V, F](config: SwayDBPersistentConfig, fileCache: Enable, memoryCache: MemoryCache, threadStateCache: ThreadStateCache, cacheKeyValueIds: Boolean, shutdownTimeout: FiniteDuration)(implicit keySerializer: Serializer[K], valueSerializer: Serializer[V], functionClassTag: ClassTag[F], keyOrder: KeyOrder[Slice[Byte]]): IO[Boot, Map[K, V, F, Less]]

    Creates a database based on the input config.

    Creates a database based on the input config.

    K

    Type of key

    V

    Type of value

    config

    Configuration to use to create the database

    keySerializer

    Converts keys to Bytes

    valueSerializer

    Converts values to Bytes

    keyOrder

    Sort order for keys

    returns

    Database instance

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def repairAppendix[K](levelPath: Path, repairStrategy: AppendixRepairStrategy)(implicit serializer: Serializer[K], fileSweeper: FileSweeperActor, keyOrder: KeyOrder[Slice[Byte]] = KeyOrder.default): IO[Level, RepairResult[K]]

    Documentation: http://www.swaydb.io/api/repairAppendix

  21. lazy val sweeperExecutionContext: ExecutionContext

    Default execution context for all databases.

    Default execution context for all databases.

    This can be overridden by provided an implicit parameter in the scope of where the database is initialized.

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. 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