Object

swaydb

SwayDB

Related Doc: package swaydb

Permalink

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

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 apply[T, F](config: LevelZeroMemoryConfig)(implicit serializer: Serializer[T], functionClassTag: ClassTag[F], keyOrder: KeyOrder[Slice[Byte]]): IO[Boot, Set[T, F, ApiIO]]

    Permalink
  5. def apply[T, F](config: LevelZeroPersistentConfig)(implicit serializer: Serializer[T], functionClassTag: ClassTag[F], keyOrder: KeyOrder[Slice[Byte]], mmapCleanerEC: Option[ExecutionContext]): IO[Boot, Set[T, F, ApiIO]]

    Permalink
  6. def apply[T, F](config: SwayDBMemoryConfig, fileCache: Enable, memoryCache: MemoryCache)(implicit serializer: Serializer[T], functionClassTag: ClassTag[F], keyOrder: KeyOrder[Slice[Byte]], fileSweeperEC: ExecutionContext, memorySweeperEC: ExecutionContext): IO[Boot, Set[T, F, ApiIO]]

    Permalink
  7. def apply[K, V, F](config: SwayDBMemoryConfig, fileCache: Enable, memoryCache: MemoryCache)(implicit keySerializer: Serializer[K], valueSerializer: Serializer[V], functionClassTag: ClassTag[F], keyOrder: KeyOrder[Slice[Byte]], fileSweeperEC: ExecutionContext, memorySweeperEC: ExecutionContext): IO[Boot, Map[K, V, F, ApiIO]]

    Permalink
  8. def apply[T, F](config: SwayDBPersistentConfig, fileCache: Enable, memoryCache: MemoryCache)(implicit serializer: Serializer[T], functionClassTag: ClassTag[F], keyOrder: KeyOrder[Slice[Byte]]): IO[Boot, Set[T, F, ApiIO]]

    Permalink
  9. def apply[K, V, F](config: SwayDBPersistentConfig, fileCache: Enable, memoryCache: MemoryCache)(implicit keySerializer: Serializer[K], valueSerializer: Serializer[V], functionClassTag: ClassTag[F], keyOrder: KeyOrder[Slice[Byte]]): IO[Boot, Map[K, V, F, ApiIO]]

    Permalink

    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

  10. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. lazy val defaultExecutionContext: ExecutionContext { val threadPool: java.util.concurrent.ForkJoinPool }

    Permalink

    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.

  13. lazy val defaultExecutorService: ExecutorService

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  20. lazy val logger: Logger

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def repairAppendix[K](levelPath: Path, repairStrategy: AppendixRepairStrategy)(implicit serializer: Serializer[K], fileSweeper: Enabled, keyOrder: KeyOrder[Slice[Byte]] = KeyOrder.default, ec: ExecutionContext = defaultExecutionContext): IO[Level, RepairResult[K]]

    Permalink

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

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

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

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

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

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

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

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped