Trait

com.github.trex_paxos.library

AcceptHandler

Related Doc: package library

Permalink

trait AcceptHandler extends PaxosLenses

Linear Supertypes
PaxosLenses, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AcceptHandler
  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. val epochLens: Lens[PaxosData, Option[BallotNumber]]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def handleAccept(io: PaxosIO, agent: PaxosAgent, accept: Accept): PaxosAgent

    Permalink
  16. def handleHighAccept(io: PaxosIO, agent: PaxosAgent, accept: Accept): PaxosAgent

    Permalink

    Ack an Accept as high as promise.

    Ack an Accept as high as promise. If the accept number > highestPromised it must update it's promise http://stackoverflow.com/q/29880949/329496

    io

    The PaxosIO.

    agent

    The PaxosAgent.

    accept

    The accept required to have number greater or equal to the agent's promise.

  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 PaxosLenses

Inherited from AnyRef

Inherited from Any

Ungrouped