Trait/Object

com.github.trex_paxos.library

AcceptResponseHandler

Related Docs: object AcceptResponseHandler | package library

Permalink

trait AcceptResponseHandler extends PaxosLenses with BackdownAgent with CommitHandler

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AcceptResponseHandler
  2. CommitHandler
  3. BackdownAgent
  4. PaxosLenses
  5. AnyRef
  6. 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. val acceptVoteDiscriminator: (AcceptResponse) ⇒ Boolean

    Permalink
  7. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def commit(io: PaxosIO, agent: PaxosAgent, identifier: Identifier): (Progress, Seq[(Identifier, Any)])

    Permalink

    Attempts to commit up to the log index specified by the slot specified.

    Attempts to commit up to the log index specified by the slot specified. A committed value is delivered to the application

    io

    The IO.

    agent

    The current agent.

    identifier

    The value to commit specified by its number and slot position.

    returns

    A tuple of the new progress and a seq of the identifiers and the response to the deliver operation.

    Definition Classes
    CommitHandler
  13. val epochLens: Lens[PaxosData, Option[BallotNumber]]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def handleAcceptResponse(io: PaxosIO, agent: PaxosAgent, vote: AcceptResponse): PaxosAgent

    Permalink
  19. def handleFollowerCommit(io: PaxosIO, agent: PaxosAgent, c: Commit): PaxosAgent

    Permalink
    Definition Classes
    CommitHandler
  20. def handleFreshResponse(io: PaxosIO, agent: PaxosAgent, votes: Map[Int, AcceptResponse], accept: Accept, vote: AcceptResponse): PaxosAgent

    Permalink
  21. def hashCode(): Int

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    PaxosLenses
  30. def processCommit(io: PaxosIO, agent: PaxosAgent, lastId: Identifier): PaxosAgent

    Permalink
  31. val progressAcceptResponsesEpochTimeoutLens: Lens[PaxosData, (Progress, SortedMap[Identifier, AcceptResponsesAndTimeout], Option[BallotNumber], Long)]

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

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

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

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

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

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

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

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

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

Inherited from CommitHandler

Inherited from BackdownAgent

Inherited from PaxosLenses

Inherited from AnyRef

Inherited from Any

Ungrouped