class
MongoDatabase extends AnyRef
Instance Constructors
-
new
MongoDatabase(name: String, urls: List[MongoDBServer] = MongoDatabase.urls, maxWaitQueueSize: Int = 500, connectionPoolMinSize: Int = 0, connectionPoolMaxSize: Int = 100, connectionPoolMaxWaitQueue: Int = 500, connectionPoolMaxWaitTime: FiniteDuration = 2.minutes, heartbeatFrequency: FiniteDuration = 10.seconds, connectionTimeout: FiniteDuration = 10.seconds, credentials: Option[Credentials] = MongoDatabase.credentials)
Type Members
-
case class
DatabaseVersion(upgrades: Set[String] = Set.empty, _id: String = "databaseVersion") extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
-
def
clone(): AnyRef
-
-
val
connectionPoolMaxSize: Int
-
val
connectionPoolMaxWaitQueue: Int
-
val
connectionPoolMaxWaitTime: FiniteDuration
-
val
connectionPoolMinSize: Int
-
val
connectionTimeout: FiniteDuration
-
val
credentials: Option[Credentials]
-
val
db: org.mongodb.scala.MongoDatabase
-
def
dispose(): Unit
-
def
drop(): Future[Unit]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
val
heartbeatFrequency: FiniteDuration
-
def
init(): Future[Unit]
-
def
initialized: Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
val
maxWaitQueueSize: Int
-
val
name: String
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
-
var
useOplog: Boolean
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any