object RaftPipeMonix extends LowPriorityRiffMonixImplicits
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RaftPipeMonix
- LowPriorityRiffMonixImplicits
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
asCluster[A](nodes: RaftNode[A]*)(implicit arg0: ClassTag[A], sched: Scheduler): Map[NodeId, RaftPipe[A, Observer, Observable, Observable, RaftNode[A]]]
Create a cluster of the input nodes, so that each knows about its peers, and sends messages to/receives messages from each of them
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def inMemoryClusterOf[A](size: Int)(implicit arg0: ClassTag[A], sched: Scheduler, clock: RaftClock): Map[NodeId, RaftPipe[A, Observer, Observable, Observable, RaftNode[A]]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newSingleNode[A](id: NodeId, dataDir: Path, maxAppendSize: Int = 10)(implicit arg0: FromBytes[A], arg1: ToBytes[A], clock: RaftClock): RaftNode[A]
convenience method for created a default RaftNode which has an empty cluster
convenience method for created a default RaftNode which has an empty cluster
- returns
a new RaftNode
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
implicit
def
observableAsPublisher(implicit scheduler: Scheduler): AsPublisher[Observable]
- Definition Classes
- LowPriorityRiffMonixImplicits
- def observablePipeForNode[A](n: RaftNode[A])(implicit arg0: ClassTag[A], sched: Scheduler): RaftPipe[A, Observer, Observable, Observable, RaftNode[A]]
-
implicit
def
observerAsSubscriber(implicit scheduler: Scheduler): AsSubscriber[Observer]
- Definition Classes
- LowPriorityRiffMonixImplicits
-
def
raftPipeForHandler[A](handler: RaftNode[A])(implicit arg0: ClassTag[A], sched: Scheduler): RaftPipe[A, Observer, Observable, Observable, RaftNode[A]]
Wraps the given RaftMessageHandler in a RaftPipe
Wraps the given RaftMessageHandler in a RaftPipe
- returns
a pipe which invokes the handler to produce its outputs
- def singleNode[A](id: NodeId, dataDir: Path)(implicit arg0: FromBytes[A], arg1: ToBytes[A], arg2: ClassTag[A], sched: Scheduler): RaftPipe[A, Observer, Observable, Observable, RaftNode[A]]
- def singleNode[A](id: NodeId = "single-node-cluster")(implicit arg0: FromBytes[A], arg1: ToBytes[A], arg2: ClassTag[A], sched: Scheduler): RaftPipe[A, Observer, Observable, Observable, RaftNode[A]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def wireTogetherMonix[A, H <: RaftMessageHandler[A]](raftInstById: Map[NodeId, RaftPipe[A, Observer, Observable, Observable, H]])(implicit s: Scheduler): Unit