class MongoStore[K, V] extends Store[K, V]
A simple implementation for storehaus using MongoDB as backend storage.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MongoStore
- Store
- WritableStore
- ReadableStore
- Closable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val backgroundIndex: Boolean
- val client: mongodb.casbah.Imports.MongoClient
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
close(time: Time): Future[Unit]
- Definition Classes
- WritableStore → Closable
-
def
close(after: Duration): Future[Unit]
- Definition Classes
- Closable
-
final
def
close(): Future[Unit]
- Definition Classes
- Closable
-
val
col: MongoCollection
- Attributes
- protected
- val colName: String
-
val
db: MongoDB
- Attributes
- protected
- val dbName: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
futurePool: ExecutorServiceFuturePool
- Attributes
- protected
-
def
get(key: K): Future[Option[V]]
- Definition Classes
- MongoStore → ReadableStore
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getManifest: Class[_]
- Attributes
- protected
-
def
getValue(valueObject: mongodb.casbah.Imports.MongoDBObject): Try[Option[V]]
- Attributes
- protected
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyName: String
-
def
multiGet[K1 <: K](ks: Set[K1]): Map[K1, Future[Option[V]]]
- Definition Classes
- ReadableStore
-
def
multiPut[K1 <: K](kvs: Map[K1, Option[V]]): Map[K1, Future[Unit]]
- Definition Classes
- WritableStore
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
put(kv: (K, Option[V])): Future[Unit]
- Definition Classes
- MongoStore → WritableStore
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val threadNumber: Int
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val valueName: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )