class
BroadcastBufferAtLeastOnce[T] extends BroadcastBufferBase[T, Event[T]]
Instance Constructors
-
new
BroadcastBufferAtLeastOnce(persistDir: File)(implicit serializer: QueueSerializer[T], system: ActorSystem)
-
new
BroadcastBufferAtLeastOnce(config: Config)(implicit serializer: QueueSerializer[T], system: ActorSystem)
Type Members
-
type
Shape = UniformFanOutShape[T, Event[T]]
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
addAttributes(attr: Attributes): Graph[UniformFanOutShape[T, Event[T]], NotUsed]
-
final
def
asInstanceOf[T0]: T0
-
def
async: Graph[UniformFanOutShape[T, Event[T]], NotUsed]
-
def
autoCommit(outputPortId: Int, index: Long): Unit
-
def
clone(): AnyRef
-
def
commit[U]: Flow[Event[U], Event[U], NotUsed]
-
def
createLogic(inheritedAttributes: Attributes): GraphStageLogic
-
final
def
createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)
-
def
elementOut(e: Event[T]): Event[T]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
initialAttributes: Attributes
-
final
def
isInstanceOf[T0]: Boolean
-
final
lazy val
module: Module
-
def
named(name: String): Graph[UniformFanOutShape[T, Event[T]], NotUsed]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
queueCloserActor: ActorRef
-
val
shape: UniformFanOutShape[T, Event[T]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
var
upstreamFailed: Boolean
-
var
upstreamFinished: Boolean
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
final
def
withAttributes(attr: Attributes): Graph[UniformFanOutShape[T, Event[T]], NotUsed]
-
def
withOnCommitCallback(onCommitCallback: (Int) ⇒ Unit): BroadcastBufferAtLeastOnce[T]
-
def
withOnPushCallback(onPushCallback: () ⇒ Unit): BroadcastBufferAtLeastOnce[T]
Inherited from GraphStage[UniformFanOutShape[T, Event[T]]]
Inherited from GraphStageWithMaterializedValue[UniformFanOutShape[T, Event[T]], NotUsed]
Inherited from Graph[UniformFanOutShape[T, Event[T]], NotUsed]
Inherited from AnyRef
Inherited from Any
Fan-out the stream to several streams emitting each incoming upstream element to all downstream consumers.
Emits when one of the inputs has an element available
Does not back-pressure upstream when downstream back-pressures, instead buffers the stream element to memory mapped queue
Completes when upstream completes and all downstream finish consuming stream elements
Cancels when downstream cancels
A commit guarantee can be ensured to avoid data lost while consuming stream elements by adding a commit stage after downstream consumer.