Object

com.rbmhtechnology.eventuate

ReplicationProtocol

Related Doc: package eventuate

Permalink

object ReplicationProtocol

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReplicationProtocol
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait Format extends Serializable

    Permalink

    Marker trait for protobuf-serializable replication protocol messages.

  2. case class GetEventLogClockSuccess(clock: EventLogClock) extends Product with Serializable

    Permalink

    Success reply after a GetEventLogClock.

  3. case class GetReplicationProgress(sourceLogId: String) extends Product with Serializable

    Permalink

    Requests the local replication progress for given sourceLogId from a target log.

    Requests the local replication progress for given sourceLogId from a target log.

    See also

    GetReplicationProgresses

  4. case class GetReplicationProgressFailure(cause: Throwable) extends Product with Serializable

    Permalink

    Failure reply after a GetReplicationProgress.

  5. case class GetReplicationProgressSuccess(sourceLogId: String, storedReplicationProgress: Long, currentTargetVersionVector: VectorTime) extends Product with Serializable

    Permalink

    Success reply after a GetReplicationProgress.

  6. case class GetReplicationProgressesFailure(cause: Throwable) extends Product with Serializable

    Permalink

    Failure reply after a GetReplicationProgresses.

  7. case class GetReplicationProgressesSuccess(progresses: Map[String, Long]) extends Product with Serializable

    Permalink

    Success reply after a GetReplicationProgresses.

  8. case class LogInfo(logName: String, sequenceNr: Long) extends Format with Product with Serializable

    Permalink

    Info about an event log.

    Info about an event log. Part of ReplicationEndpointInfo.

    logName

    Name of the log this info object is about

    sequenceNr

    Current sequence number of this log

  9. case class ReplicationEndpointInfo(endpointId: String, logInfos: Set[LogInfo]) extends Format with Product with Serializable

    Permalink

    ReplicationEndpoint info object.

    ReplicationEndpoint info object. Exchanged between replication endpoints to establish replication connections.

    endpointId

    Replication endpoint id.

    logInfos

    LogInfos of logs managed by the replication endpoint.

  10. case class ReplicationRead(fromSequenceNr: Long, max: Int, filter: ReplicationFilter, targetLogId: String, replicator: ActorRef, currentTargetVersionVector: VectorTime) extends Format with Product with Serializable

    Permalink

    Instructs a source log to read up to max events starting at fromSequenceNr and applying the given replication filter.

  11. case class ReplicationReadEnvelope(payload: ReplicationRead, logName: String) extends Format with Product with Serializable

    Permalink

    ReplicationRead requests are sent within this envelope to allow a remote acceptor to dispatch the request to the appropriate log.

  12. case class ReplicationReadFailure(cause: String, targetLogId: String) extends Format with Product with Serializable

    Permalink

    Failure reply after a ReplicationRead.

  13. case class ReplicationReadSuccess(events: Seq[DurableEvent], replicationProgress: Long, targetLogId: String, currentSourceVersionVector: VectorTime) extends DurableEventBatch with Format with Product with Serializable

    Permalink

    Success reply after a ReplicationRead.

    Success reply after a ReplicationRead.

    events

    Read events.

    replicationProgress

    Last read sequence number. This is greater than or equal to the sequence number of the last read event (if any).

  14. case class ReplicationWrite(events: Seq[DurableEvent], sourceLogId: String, replicationProgress: Long, currentSourceVersionVector: VectorTime, replyTo: ActorRef = null) extends UpdateableEventBatch[ReplicationWrite] with Product with Serializable

    Permalink

    Instructs a target log to write replicated events from the source log identified by sourceLogId along with the last read position in the source log (replicationProgress).

  15. case class ReplicationWriteFailure(cause: Throwable) extends Product with Serializable

    Permalink

    Failure reply after a ReplicationWrite.

  16. case class ReplicationWriteN(writes: Seq[ReplicationWrite]) extends Product with Serializable

    Permalink

    Instructs an event log to batch-execute the given writes.

  17. case class ReplicationWriteSuccess(num: Int, sourceLogId: String, storedReplicationProgress: Long, currentTargetVersionVector: VectorTime) extends Product with Serializable

    Permalink

    Success reply after a ReplicationWrite.

    Success reply after a ReplicationWrite.

    num

    Number of events actually replicated.

    sourceLogId

    Id of the log the written events were replicated from.

    storedReplicationProgress

    Last source log read position stored in the target log.

    currentTargetVersionVector

    Version vector of the target log after the events were written

  18. case class SetReplicationProgress(sourceLogId: String, replicationProgress: Long) extends Product with Serializable

    Permalink

    Requests a target log to set the given replicationProgress for sourceLogId.

  19. case class SetReplicationProgressFailure(cause: Throwable) extends Product with Serializable

    Permalink

    Failure reply after a SetReplicationProgress.

  20. case class SetReplicationProgressSuccess(sourceLogId: String, storedReplicationProgress: Long) extends Product with Serializable

    Permalink

    Success reply after a SetReplicationProgress.

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. object GetEventLogClock extends Product with Serializable

    Permalink

    Requests the clock from an event log.

  5. object GetReplicationProgresses extends Product with Serializable

    Permalink

    Requests all local replication progresses from a log.

    Requests all local replication progresses from a log. The local replication progress is the sequence number in the remote log up to which the local log has replicated all events from the remote log.

  6. object ReplicationEndpointInfo extends Serializable

    Permalink
  7. object ReplicationWriteNComplete extends Product with Serializable

    Permalink

    Completion reply after a ReplicationWriteN.

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped