Class

miniraft.state.rest

RaftSupportRoutes

Related Doc: package rest

Permalink

case class RaftSupportRoutes[T](logic: RaftNodeLogic[T], cluster: ClusterProtocol, messageLogDir: Option[Path])(implicit evidence$1: Encoder[T], evidence$2: Decoder[T], ec: ExecutionContext) extends RaftJson with FailFastCirceSupport with Product with Serializable

Additional routes not required for Raft but which facilitate development/support/debugging, e.g. by providing for examining the current Raft state

Linear Supertypes
Serializable, Serializable, Product, Equals, FailFastCirceSupport, FailFastUnmarshaller, BaseCirceSupport, RaftJson, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RaftSupportRoutes
  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 RaftSupportRoutes(logic: RaftNodeLogic[T], cluster: ClusterProtocol, messageLogDir: Option[Path])(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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val cluster: ClusterProtocol

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

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def forceElectionTimeout: Route

    Permalink
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getLogs: Route

    Permalink
  16. def getMessages(msgDir: Path): Route

    Permalink
  17. def getState: Route

    Permalink
  18. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    BaseCirceSupport
  21. val logic: RaftNodeLogic[T]

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

    Permalink
    Definition Classes
    BaseCirceSupport
  23. val messageLogDir: Option[Path]

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def routes: Route

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    RaftJson
  35. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. 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