abstract class MongoPersistenceDriver extends WithMongoPersistencePluginDispatcher
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- MongoPersistenceDriver
- WithMongoPersistencePluginDispatcher
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new MongoPersistenceDriver(as: ActorSystem, config: Config)
Abstract Value Members
- abstract def cappedCollection(name: String): Future[C]
- abstract def closeConnections(): Unit
- abstract def collection(name: String): Future[C]
- abstract def collectionNames: Future[List[String]]
- abstract def ensureCollection(name: String): Future[C]
- abstract def ensureIndex(indexName: String, unique: Boolean, sparse: Boolean, fields: (String, Int)*): (C) => Future[C]
- abstract def getMongoVersionFromBuildInfo: Future[String]
- abstract def removeEmptyCollection(collection: C, indexName: String): Future[Unit]
Concrete 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
- val DEFAULT_DB_NAME: String
- implicit val actorSystem: ActorSystem
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def databaseName: Option[String]
- def deserializeJournal(dbo: D)(implicit ev: CanDeserializeJournal[D]): Event
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getAllCollectionsAsFuture(nameFilter: Option[(String) => Boolean]): Future[List[C]]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getCollectionsAsFuture(collectionName: String): Future[List[C]]
- def getJournal(persistenceId: String): Future[C]
Convenient methods to retrieve EXISTING journal collection from persistenceId.
Convenient methods to retrieve EXISTING journal collection from persistenceId. CAUTION: this method does NOT create the journal and its indexes.
- def getJournalCollectionName(persistenceId: String): String
Convenient methods to retrieve journal name from persistenceId
- def getJournalCollections: Future[List[C]]
- def getSnaps(persistenceId: String): Future[C]
Convenient methods to retrieve EXISTING snapshot collection from persistenceId.
Convenient methods to retrieve EXISTING snapshot collection from persistenceId. CAUTION: this method does NOT create the snapshot and its indexes.
- def getSnapsCollectionName(persistenceId: String): String
Convenient methods to retrieve snapshot name from persistenceId
- def getSnapshotCollections: Future[List[C]]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def journal(persistenceId: String): Future[C]
- def journal: Future[C]
- def journalCollectionName: String
- def journalCollectionsAsFuture: Future[List[C]]
- def journalFsync: Boolean
- def journalIndexName: String
- def journalSeqNrIndexName: String
- def journalTagIndexName: String
- def journalWTimeout: FiniteDuration
- def journalWriteSafety: WriteSafety
- val logger: Logger
- Attributes
- protected
- implicit val materializer: Materializer
- def metadata: Future[C]
- def metadataCollectionName: String
- def metadataIndexName: String
- def mongoUri: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- implicit lazy val pluginDispatcher: ExecutionContext
- Definition Classes
- WithMongoPersistencePluginDispatcher
- def realtimeCollectionName: String
- def realtimeCollectionSize: Long
- def realtimeEnablePersistence: Boolean
- def removeEmptyJournal(jnl: C): Future[Unit]
- def removeEmptySnapshot(snp: C): Future[Unit]
- def removeJournalInCache(persistenceId: String): Unit
- def removeSnapsInCache(persistenceId: String): Unit
- def serializeJournal(aw: Atom)(implicit ev: CanSerializeJournal[D]): D
- lazy val settings: MongoSettings
- def snaps(persistenceId: String): Future[C]
- def snaps: Future[C]
- def snapsCollectionName: String
- def snapsFsync: Boolean
- def snapsIndexName: String
- def snapsWTimeout: FiniteDuration
- def snapsWriteSafety: WriteSafety
- def snapshotCollectionsAsFuture: Future[List[C]]
- def suffixBuilderClassOption: Option[String]
- def suffixDropEmpty: Boolean
- def suffixSeparator: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def useLegacySerialization: Boolean
- def useSuffixedCollectionNames: Boolean
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)