Class

akka.persistence.couchbase

CouchbaseJournal

Related Doc: package couchbase

Permalink

class CouchbaseJournal extends AsyncWriteJournal with AsyncCouchbaseSession with Queries with TagSequenceNumbering

INTERNAL API

Annotations
@InternalApi()
Linear Supertypes
TagSequenceNumbering, Queries, AsyncCouchbaseSession, AsyncWriteJournal, AsyncRecovery, WriteJournalBase, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CouchbaseJournal
  2. TagSequenceNumbering
  3. Queries
  4. AsyncCouchbaseSession
  5. AsyncWriteJournal
  6. AsyncRecovery
  7. WriteJournalBase
  8. Actor
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CouchbaseJournal(config: Config, configPath: String)

    Permalink

Type Members

  1. type PersistenceId = String

    Permalink
    Definition Classes
    TagSequenceNumbering
  2. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor
  3. type Tag = String

    Permalink
    Definition Classes
    TagSequenceNumbering

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

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  5. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  6. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  7. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  8. def aroundReceive(receive: actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def asyncDeleteMessagesTo(persistenceId: String, toSequenceNr: Long): Future[Unit]

    Permalink
    Definition Classes
    CouchbaseJournal → AsyncWriteJournal
  11. def asyncReadHighestSequenceNr(persistenceId: String, fromSequenceNr: Long): Future[Long]

    Permalink
    Definition Classes
    CouchbaseJournal → AsyncRecovery
  12. def asyncReplayMessages(persistenceId: String, fromSequenceNr: Long, toSequenceNr: Long, max: Long)(recoveryCallback: (PersistentRepr) ⇒ Unit): Future[Unit]

    Permalink
    Definition Classes
    CouchbaseJournal → AsyncRecovery
  13. val asyncSession: Future[CouchbaseSession]

    Permalink

    Note: Implement with a val so that it doesn't get recreated on each access

    Note: Implement with a val so that it doesn't get recreated on each access

    Attributes
    protected
    Definition Classes
    CouchbaseJournal → AsyncCouchbaseSession
  14. def asyncWriteMessages(messages: Seq[AtomicWrite]): Future[Seq[Try[Unit]]]

    Permalink
    Definition Classes
    CouchbaseJournal → AsyncWriteJournal
  15. def bucketName: String

    Permalink
    Definition Classes
    CouchbaseJournal → Queries
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  17. final def closeCouchbaseSession()(implicit ec: ExecutionContext): Future[Done]

    Permalink
    Definition Classes
    AsyncCouchbaseSession
  18. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  19. def currentTagSeqNrFromDb(pid: PersistenceId, tag: Tag): Future[Option[Long]]

    Permalink
    Attributes
    protected
    Definition Classes
    TagSequenceNumbering
  20. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def eventsByPersistenceIdQuery(persistenceId: String, fromSequenceNr: Long, toSequenceNr: Long, pageSize: Int): N1qlQuery

    Permalink
    Attributes
    protected
    Definition Classes
    Queries
  23. def eventsByTagQueryIds(tag: String, fromOffset: String, toOffset: String, pageSize: Int): N1qlQuery

    Permalink
    Attributes
    protected
    Definition Classes
    Queries
  24. def evictSeqNrsFor(pid: PersistenceId): Unit

    Permalink

    Remove all entries for pid.

    Remove all entries for pid. It is expected that no updates for the specific persistence id happens until this method has returned.

    Definition Classes
    TagSequenceNumbering
  25. implicit val executionContext: ExecutionContext

    Permalink
    Attributes
    protected
    Definition Classes
    CouchbaseJournal → TagSequenceNumbering
  26. def firstNonDeletedEventFor(persistenceId: String, session: CouchbaseSession, readTimeout: FiniteDuration)(implicit ec: ExecutionContext): Future[Option[Long]]

    Permalink
    Attributes
    protected
    Definition Classes
    Queries
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  29. def highestSequenceNrQuery(persistenceId: String, fromSequenceNr: Long, params: N1qlParams): N1qlQuery

    Permalink
    Attributes
    protected
    Definition Classes
    Queries
  30. def highestTagSequenceNumberQuery(persistenceId: String, tag: String, params: N1qlParams): N1qlQuery

    Permalink
    Definition Classes
    Queries
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. val log: DiagnosticLoggingAdapter

    Permalink
    Attributes
    protected
    Definition Classes
    CouchbaseJournal → TagSequenceNumbering
  33. def mapHighestSequenceNr(option: Option[JsonObject]): Long

    Permalink
    Definition Classes
    Queries
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. def nextTagSeqNrFor(pid: PersistenceId, tag: Tag): Future[Long]

    Permalink

    Return the in-mem seq-nr for a tag or load the highest seq nr for the tag from the db.

    Return the in-mem seq-nr for a tag or load the highest seq nr for the tag from the db. Precondition for thread safety: there will only ever be one concurrent call for the same pid and tag (different tag/pid is fine though)

    Definition Classes
    TagSequenceNumbering
  36. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  37. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  38. val persistence: Persistence

    Permalink
    Definition Classes
    WriteJournalBase
  39. def persistenceIdsQuery(): N1qlQuery

    Permalink
    Attributes
    protected
    Definition Classes
    Queries
  40. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  41. def postStop(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  42. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  43. def preStart(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  44. def preparePersistentBatch(rb: Seq[PersistentEnvelope]): Seq[AtomicWrite]

    Permalink
    Attributes
    protected
    Definition Classes
    WriteJournalBase
  45. def putSeqNr(pid: PersistenceId, tag: Tag, seqNr: Long): Long

    Permalink
    Definition Classes
    TagSequenceNumbering
  46. val queryConsistency: N1qlParams

    Permalink
    Attributes
    protected
    Definition Classes
    CouchbaseJournal → TagSequenceNumbering
  47. final def receive: PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    AsyncWriteJournal → Actor
  48. def receivePluginInternal: Receive

    Permalink
    Definition Classes
    CouchbaseJournal → AsyncWriteJournal
  49. final val receiveWriteJournal: actor.Actor.Receive

    Permalink
    Definition Classes
    AsyncWriteJournal
  50. def replayQuery(persistenceId: String, from: Long, to: Long, params: N1qlParams): N1qlQuery

    Permalink
    Attributes
    protected
    Definition Classes
    Queries
  51. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  52. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  53. final def sourceWithCouchbaseSession[Out](f: (CouchbaseSession) ⇒ Source[Out, NotUsed])(implicit ec: ExecutionContext): Source[Out, NotUsed]

    Permalink
    Definition Classes
    AsyncCouchbaseSession
  54. def supervisorStrategy: SupervisorStrategy

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

    Permalink
    Definition Classes
    AnyRef
  56. implicit val system: ActorSystem

    Permalink
    Attributes
    protected
  57. def toString(): String

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

    Permalink
    Definition Classes
    Actor
  59. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def withCouchbaseSession[A](f: (CouchbaseSession) ⇒ Future[A])(implicit ec: ExecutionContext): Future[A]

    Permalink
    Definition Classes
    AsyncCouchbaseSession

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from TagSequenceNumbering

Inherited from Queries

Inherited from AsyncCouchbaseSession

Inherited from AsyncWriteJournal

Inherited from AsyncRecovery

Inherited from WriteJournalBase

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped