Packages

class MongoStore[K, V] extends Store[K, V]

A simple implementation for storehaus using MongoDB as backend storage.

Linear Supertypes
Store[K, V], WritableStore[K, Option[V]], ReadableStore[K, V], Closable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MongoStore
  2. Store
  3. WritableStore
  4. ReadableStore
  5. Closable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MongoStore(client: mongodb.casbah.Imports.MongoClient, dbName: String, colName: String, keyName: String, valueName: String, backgroundIndex: Boolean, threadNumber: Int)(implicit arg0: MongoValue[K], arg1: MongoValue[V], arg2: Manifest[V])

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val backgroundIndex: Boolean
  6. val client: mongodb.casbah.Imports.MongoClient
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(time: Time): Future[Unit]
    Definition Classes
    WritableStore → Closable
  9. def close(after: Duration): Future[Unit]
    Definition Classes
    Closable
  10. final def close(): Future[Unit]
    Definition Classes
    Closable
  11. val col: MongoCollection
    Attributes
    protected
  12. val colName: String
  13. val db: MongoDB
    Attributes
    protected
  14. val dbName: String
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. val futurePool: ExecutorServiceFuturePool
    Attributes
    protected
  19. def get(key: K): Future[Option[V]]
    Definition Classes
    MongoStore → ReadableStore
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  21. def getManifest: Class[_]
    Attributes
    protected
  22. def getValue(valueObject: mongodb.casbah.Imports.MongoDBObject): Try[Option[V]]
    Attributes
    protected
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. val keyName: String
  26. def multiGet[K1 <: K](ks: Set[K1]): Map[K1, Future[Option[V]]]
    Definition Classes
    ReadableStore
  27. def multiPut[K1 <: K](kvs: Map[K1, Option[V]]): Map[K1, Future[Unit]]
    Definition Classes
    WritableStore
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  31. def put(kv: (K, Option[V])): Future[Unit]
    Definition Classes
    MongoStore → WritableStore
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. val threadNumber: Int
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. val valueName: String
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Store[K, V]

Inherited from WritableStore[K, Option[V]]

Inherited from ReadableStore[K, V]

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped