Class

miniraft.state.rest

LeaderRoutes

Related Doc: package rest

Permalink

case class LeaderRoutes[T](node: RaftNode[T], leader: LeaderApi[T], locationForId: (NodeId) ⇒ HostLocation, teaFromString: (String) ⇒ T)(implicit evidence$1: Encoder[T], evidence$2: Decoder[T], ec: ExecutionContext) extends RaftJson with FailFastCirceSupport with Product with Serializable

Routes to allow client calls to append to the state machine

Linear Supertypes
Serializable, Serializable, Product, Equals, FailFastCirceSupport, FailFastUnmarshaller, BaseCirceSupport, RaftJson, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LeaderRoutes
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FailFastCirceSupport
  7. FailFastUnmarshaller
  8. BaseCirceSupport
  9. RaftJson
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LeaderRoutes(node: RaftNode[T], leader: LeaderApi[T], locationForId: (NodeId) ⇒ HostLocation, teaFromString: (String) ⇒ T)(implicit arg0: Encoder[T], arg1: Decoder[T], ec: ExecutionContext)

    Permalink

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. implicit def appendEntriesDecoder[T](implicit arg0: Decoder[T]): Decoder[AppendEntries[T]]

    Permalink
    Definition Classes
    RaftJson
  5. implicit def appendEntriesEncoder[T](implicit arg0: Encoder[T]): ObjectEncoder[AppendEntries[T]]

    Permalink
    Definition Classes
    RaftJson
  6. implicit val appendEntriesResponseDecoder: Decoder[AppendEntriesResponse]

    Permalink
    Definition Classes
    RaftJson
  7. implicit val appendEntriesResponseEncoder: ObjectEncoder[AppendEntriesResponse]

    Permalink
    Definition Classes
    RaftJson
  8. def appendGet: Route

    Permalink
  9. def appendPost: Route

    Permalink
  10. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    AnyRef
  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. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. implicit final def jsonMarshaller(implicit printer: Printer): ToEntityMarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  17. implicit final val jsonUnmarshaller: FromEntityUnmarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  18. val leader: LeaderApi[T]

    Permalink
  19. val locationForId: (NodeId) ⇒ HostLocation

    Permalink
  20. implicit final def marshaller[A](implicit arg0: Encoder[A], printer: Printer): ToEntityMarshaller[A]

    Permalink
    Definition Classes
    BaseCirceSupport
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. val node: RaftNode[T]

    Permalink
  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. def routes: Route

    Permalink
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. val teaFromString: (String) ⇒ T

    Permalink
  28. implicit final def unmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]

    Permalink
    Definition Classes
    FailFastUnmarshaller
  29. def unmarshallerContentTypes: Seq[ContentTypeRange]

    Permalink
    Definition Classes
    BaseCirceSupport
  30. implicit val voteDecoder: Decoder[RequestVote]

    Permalink
    Definition Classes
    RaftJson
  31. implicit val voteEncoder: ObjectEncoder[RequestVote]

    Permalink
    Definition Classes
    RaftJson
  32. implicit val voteResponseDecoder: Decoder[RequestVoteResponse]

    Permalink
    Definition Classes
    RaftJson
  33. implicit val voteResponseEncoder: ObjectEncoder[RequestVoteResponse]

    Permalink
    Definition Classes
    RaftJson
  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 Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FailFastCirceSupport

Inherited from FailFastUnmarshaller

Inherited from BaseCirceSupport

Inherited from RaftJson

Inherited from AnyRef

Inherited from Any

Ungrouped