Trait/Object

com.github.trex_paxos.library

ResendHandler

Related Docs: object ResendHandler | package library

Permalink

trait ResendHandler extends PaxosLenses

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

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. val backdownLens: Lens[PaxosData, (SortedMap[Identifier, Map[Int, PrepareResponse]], SortedMap[Identifier, AcceptResponsesAndTimeout], Map[Identifier, (CommandValue, String)], Option[BallotNumber], Long)]

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def computeResendAccepts(io: PaxosIO, agent: PaxosAgent, time: Long): AcceptsAndData

    Permalink
  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 handleResendAccepts(io: PaxosIO, agent: PaxosAgent, time: Long): PaxosAgent

    Permalink

    Locates the accepts where we have timed-out on getting a majority accept response.

    Locates the accepts where we have timed-out on getting a majority accept response. If we have seen evidence of other nodes using a higher BallotNumber we "go higher" moving to a new epoch and refreshing our accepts to use the new ballot number.

    io

    input and output

    agent

    The current role and state

    time

    The current time

  17. def handleResendPrepares(io: PaxosIO, agent: PaxosAgent, time: Long): PaxosAgent

    Permalink
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def highestNumberProgressed(data: PaxosData): BallotNumber

    Permalink
  20. val highestPromisedLens: Lens[PaxosData, BallotNumber]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from PaxosLenses

Inherited from AnyRef

Inherited from Any

Ungrouped