Class

miniraft.state.rest

RaftRoutes

Related Doc: package rest

Permalink

case class RaftRoutes[T](endpoint: RaftEndpoint[T])(implicit evidence$1: Encoder[T], evidence$2: Decoder[T], ec: ExecutionContext) extends RaftJson with FailFastCirceSupport with StrictLogging with Product with Serializable

Routes required to support the raft protocol as a communication between raft nodes.

For client or support routes, well, look elsewhere. Please.

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

Instance Constructors

  1. new RaftRoutes(endpoint: RaftEndpoint[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. def appendEntities: Route

    Permalink
  5. implicit def appendEntriesDecoder[T](implicit arg0: Decoder[T]): Decoder[AppendEntries[T]]

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

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

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

    Permalink
    Definition Classes
    RaftJson
  9. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val endpoint: RaftEndpoint[T]

    Permalink
  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 logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging
  19. implicit final def marshaller[A](implicit arg0: Encoder[A], printer: Printer): ToEntityMarshaller[A]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def requestVote: Route

    Permalink
  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 StrictLogging

Inherited from FailFastCirceSupport

Inherited from FailFastUnmarshaller

Inherited from BaseCirceSupport

Inherited from RaftJson

Inherited from AnyRef

Inherited from Any

Ungrouped