Trait

com.github.trex_paxos.library

ReturnToFollowerHandler

Related Doc: package library

Permalink

trait ReturnToFollowerHandler extends PaxosLenses with BackdownAgent

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReturnToFollowerHandler
  2. BackdownAgent
  3. PaxosLenses
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def commit(io: PaxosIO, agent: PaxosAgent, identifier: Identifier): (Progress, Seq[(Identifier, Any)])

    Permalink

Concrete 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. val acceptResponsesClientCommandsLens: Lens[PaxosData, (SortedMap[Identifier, AcceptResponsesAndTimeout], Map[Identifier, (CommandValue, String)])]

    Permalink
    Definition Classes
    PaxosLenses
  5. val acceptResponsesLens: Lens[PaxosData, SortedMap[Identifier, AcceptResponsesAndTimeout]]

    Permalink
    Definition Classes
    PaxosLenses
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def backdownAgent(io: PaxosIO, agent: PaxosAgent): PaxosAgent

    Permalink
    Definition Classes
    BackdownAgent
  8. val backdownLens: Lens[PaxosData, (SortedMap[Identifier, Map[Int, PrepareResponse]], SortedMap[Identifier, AcceptResponsesAndTimeout], Map[Identifier, (CommandValue, String)], Option[BallotNumber], Long)]

    Permalink
    Definition Classes
    PaxosLenses
  9. val clientCommandsLens: Lens[PaxosData, Map[Identifier, (CommandValue, String)]]

    Permalink
    Definition Classes
    PaxosLenses
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val epochLens: Lens[PaxosData, Option[BallotNumber]]

    Permalink
    Definition Classes
    PaxosLenses
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def handleReturnToFollowerOnHigherCommit(io: PaxosIO, agent: PaxosAgent, c: Commit): PaxosAgent

    Permalink

    If we see a commit at a higher slot we should backdown and request retransmission.

    If we see a commit at a higher slot we should backdown and request retransmission. If we see a commit for the same slot but with a higher epoch id we should backdown. Other commits are ignored.

  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. val highestPromisedLens: Lens[PaxosData, BallotNumber]

    Permalink
    Definition Classes
    PaxosLenses
  19. val highestPromisedTimeoutEpochPrepareResponsesAcceptResponseLens: Lens[PaxosData, (BallotNumber, Long, Option[BallotNumber], SortedMap[Identifier, Map[Int, PrepareResponse]], SortedMap[Identifier, AcceptResponsesAndTimeout])]

    Permalink
    Definition Classes
    PaxosLenses
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val leaderLens: Lens[PaxosData, (SortedMap[Identifier, Map[Int, PrepareResponse]], SortedMap[Identifier, AcceptResponsesAndTimeout], Map[Identifier, (CommandValue, String)])]

    Permalink
    Definition Classes
    PaxosLenses
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. val prepareResponsesLens: Lens[PaxosData, SortedMap[Identifier, Map[Int, PrepareResponse]]]

    Permalink
    Definition Classes
    PaxosLenses
  26. val progressAcceptResponsesEpochTimeoutLens: Lens[PaxosData, (Progress, SortedMap[Identifier, AcceptResponsesAndTimeout], Option[BallotNumber], Long)]

    Permalink
    Definition Classes
    PaxosLenses
  27. val progressLens: Lens[PaxosData, Progress]

    Permalink
    Definition Classes
    PaxosLenses
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. val timeoutLens: Lens[PaxosData, Long]

    Permalink
    Definition Classes
    PaxosLenses
  30. val timeoutPrepareResponsesLens: Lens[PaxosData, (Long, SortedMap[Identifier, Map[Int, PrepareResponse]])]

    Permalink
    Definition Classes
    PaxosLenses
  31. def toString(): String

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

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

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

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

Inherited from BackdownAgent

Inherited from PaxosLenses

Inherited from AnyRef

Inherited from Any

Ungrouped