akka.contrib.persistence.mongodb

MongoJournal

class MongoJournal extends AsyncWriteJournal

Linear Supertypes
AsyncWriteJournal, AsyncRecovery, WriteJournalBase, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MongoJournal
  2. AsyncWriteJournal
  3. AsyncRecovery
  4. WriteJournalBase
  5. Actor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MongoJournal()

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Definition Classes
    Actor

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. def aroundPostRestart(reason: Throwable): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPostStop(): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. def aroundPreStart(): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  10. def aroundReceive(receive: actor.Actor.Receive, msg: Any): Unit

    Attributes
    protected[akka]
    Definition Classes
    Actor
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def asyncDeleteMessages(messageIds: Seq[PersistentId], permanent: Boolean): Future[Unit]

    Plugin API: asynchronously deletes messages identified by messageIds from the journal.

    Plugin API: asynchronously deletes messages identified by messageIds from the journal. If permanent is set to false, the persistent messages are marked as deleted, otherwise they are permanently deleted.

    Definition Classes
    MongoJournal → AsyncWriteJournal
  13. def asyncDeleteMessagesTo(processorId: String, toSequenceNr: Long, permanent: Boolean): Future[Unit]

    Plugin API: asynchronously deletes all persistent messages up to toSequenceNr (inclusive).

    Plugin API: asynchronously deletes all persistent messages up to toSequenceNr (inclusive). If permanent is set to false, the persistent messages are marked as deleted, otherwise they are permanently deleted.

    Definition Classes
    MongoJournal → AsyncWriteJournal
  14. def asyncReadHighestSequenceNr(processorId: String, fromSequenceNr: Long): Future[Long]

    Plugin API: asynchronously reads the highest stored sequence number for the given processorId.

    Plugin API: asynchronously reads the highest stored sequence number for the given processorId.

    processorId

    processor id.

    fromSequenceNr

    hint where to start searching for the highest sequence number.

    Definition Classes
    MongoJournal → AsyncRecovery
  15. def asyncReplayMessages(processorId: String, fromSequenceNr: Long, toSequenceNr: Long, max: Long)(replayCallback: (PersistentRepr) ⇒ Unit): Future[Unit]

    Plugin API: asynchronously replays persistent messages.

    Plugin API: asynchronously replays persistent messages. Implementations replay a message by calling replayCallback. The returned future must be completed when all messages (matching the sequence number bounds) have been replayed. The future must be completed with a failure if any of the persistent messages could not be replayed.

    The replayCallback must also be called with messages that have been marked as deleted. In this case a replayed message's deleted method must return true.

    The channel ids of delivery confirmations that are available for a replayed message must be contained in that message's confirms sequence.

    processorId

    processor id.

    fromSequenceNr

    sequence number where replay should start (inclusive).

    toSequenceNr

    sequence number where replay should end (inclusive).

    max

    maximum number of messages to be replayed.

    replayCallback

    called to replay a single message. Can be called from any thread.

    Definition Classes
    MongoJournal → AsyncRecovery
  16. def asyncWriteConfirmations(confirmations: Seq[PersistentConfirmation]): Future[Unit]

    Plugin API: asynchronously writes a batch of delivery confirmations to the journal.

    Plugin API: asynchronously writes a batch of delivery confirmations to the journal.

    Definition Classes
    MongoJournal → AsyncWriteJournal
  17. def asyncWriteMessages(messages: Seq[PersistentRepr]): Future[Unit]

    Plugin API: asynchronously writes a batch of persistent messages to the journal.

    Plugin API: asynchronously writes a batch of persistent messages to the journal. The batch write must be atomic i.e. either all persistent messages in the batch are written or none.

    Definition Classes
    MongoJournal → AsyncWriteJournal
  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. implicit val context: ActorContext

    Definition Classes
    Actor
  20. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

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

    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  29. def postRestart(reason: Throwable): Unit

    Definition Classes
    Actor
    Annotations
    @throws()
  30. def postStop(): Unit

    Definition Classes
    Actor
    Annotations
    @throws()
  31. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Definition Classes
    Actor
    Annotations
    @throws()
  32. def preStart(): Unit

    Definition Classes
    Actor
    Annotations
    @throws()
  33. def preparePersistentBatch(rb: Seq[Resequenceable]): Seq[PersistentRepr]

    Attributes
    protected
    Definition Classes
    WriteJournalBase
  34. def receive: PartialFunction[Any, Unit]

    Definition Classes
    AsyncWriteJournal → Actor
  35. implicit final val self: ActorRef

    Definition Classes
    Actor
  36. final def sender(): ActorRef

    Definition Classes
    Actor
  37. def supervisorStrategy: SupervisorStrategy

    Definition Classes
    Actor
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toString(): String

    Definition Classes
    AnyRef → Any
  40. def unhandled(message: Any): Unit

    Definition Classes
    Actor
  41. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AsyncWriteJournal

Inherited from AsyncRecovery

Inherited from WriteJournalBase

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped