Instance Constructors
-
new
Partition(outputPorts: Int, partitioner: (T) ⇒ Int)
Type Members
-
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Partition[T], B)
-
final
def
==(arg0: Any): Boolean
-
-
final
def
asInstanceOf[T0]: T0
-
-
def
clone(): AnyRef
-
-
final
def
createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)
-
-
-
-
-
-
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
val
in: Inlet[T]
-
def
initialAttributes: Attributes
-
final
def
isInstanceOf[T0]: Boolean
-
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
out: Seq[Outlet[T]]
-
val
outputPorts: Int
-
val
partitioner: (T) ⇒ Int
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
-
def
→[B](y: B): (Partition[T], B)
Deprecated Value Members
-
def
finalize(): Unit
Inherited by implicit conversion any2stringadd from
Partition[T] to any2stringadd[Partition[T]]
Inherited by implicit conversion StringFormat from
Partition[T] to StringFormat[Partition[T]]
Fan-out the stream to several streams. emitting an incoming upstream element to one downstream consumer according to the partitioner function applied to the element
Emits when emits when an element is available from the input and the chosen output has demand
Backpressures when the currently chosen output back-pressures
Completes when upstream completes and no output is pending
Cancels when when all downstreams cancel