com.twitter.storehaus.mongodb

MongoStore

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
Learn more about member selection
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val backgroundIndex: Boolean

  8. val client: mongodb.casbah.Imports.MongoClient

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def close(time: Time): Future[Unit]

    Definition Classes
    WritableStore → Closable
  11. def close(after: Duration): Future[Unit]

    Definition Classes
    Closable
  12. final def close(): Future[Unit]

    Definition Classes
    Closable
  13. val col: MongoCollection

    Attributes
    protected
  14. val colName: String

  15. val db: MongoDB

    Attributes
    protected
  16. val dbName: String

  17. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. val futurePool: ExecutorServiceFuturePool

    Attributes
    protected
  21. def get(key: K): Future[Option[V]]

    Definition Classes
    MongoStore → ReadableStore
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def getManifest(): Class[_]

    Attributes
    protected
  24. def getValue(valueObject: mongodb.casbah.Imports.MongoDBObject): Option[V]

    Attributes
    protected
  25. def hashCode(): Int

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

    Definition Classes
    Any
  27. val keyName: String

  28. def multiGet[K1 <: K](ks: Set[K1]): Map[K1, Future[Option[V]]]

    Definition Classes
    ReadableStore
  29. def multiPut[K1 <: K](kvs: Map[K1, Option[V]]): Map[K1, Future[Unit]]

    Definition Classes
    WritableStore
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. def put(kv: (K, Option[V])): Future[Unit]

    Definition Classes
    MongoStore → WritableStore
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. val threadNumber: Int

  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. val valueName: String

  38. final def wait(): Unit

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

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