Class/Object

com.twitter.storehaus.mongodb

MongoStore

Related Docs: object MongoStore | package mongodb

Permalink

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])

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val backgroundIndex: Boolean

    Permalink
  6. val client: mongodb.casbah.Imports.MongoClient

    Permalink
  7. def clone(): AnyRef

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

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

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

    Permalink
    Definition Classes
    Closable
  11. val col: MongoCollection

    Permalink
    Attributes
    protected
  12. val colName: String

    Permalink
  13. val db: MongoDB

    Permalink
    Attributes
    protected
  14. val dbName: String

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
  23. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  25. val keyName: String

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  33. val threadNumber: Int

    Permalink
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. val valueName: String

    Permalink
  36. final def wait(): Unit

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

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

    Permalink
    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