Class

miniraft.state.rest

LeaderRoutes

Related Doc: package rest

Permalink

case class LeaderRoutes[T](leader: LeaderApi[T], locationForId: (NodeId) ⇒ HostLocation)(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(leader: LeaderApi[T], locationForId: (NodeId) ⇒ HostLocation)(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. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  24. def routes: Route

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

    Permalink
    Definition Classes
    AnyRef
  26. implicit final def unmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]

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

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

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

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

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

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