Package org.apache.pekko.stream
Class StreamRefAttributes$
java.lang.Object
org.apache.pekko.stream.StreamRefAttributes$
Attributes for stream refs (
pekko.stream.SourceRef and pekko.stream.SinkRef).
Note that more attributes defined in Attributes and ActorAttributes.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StreamRefAttributes$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbufferCapacity(int capacity) Specifies the size of the buffer on the receiving side that is eagerly filled even without demand.demandRedeliveryInterval(Duration timeout) Java API: If no new elements arrive within this timeout, demand is redelivered.demandRedeliveryInterval(scala.concurrent.duration.FiniteDuration timeout) Scala API: If no new elements arrive within this timeout, demand is redelivered.finalTerminationSignalDeadline(Duration timeout) Java API: The time between the Terminated signal being received and when the local SourceRef determines to fail itselffinalTerminationSignalDeadline(scala.concurrent.duration.FiniteDuration timeout) Scala API: The time between the Terminated signal being received and when the local SourceRef determines to fail itselfsubscriptionTimeout(Duration timeout) Java API: Specifies the subscription timeout within which the remote side MUST subscribe to the handed out stream reference.subscriptionTimeout(scala.concurrent.duration.FiniteDuration timeout) Scala API: Specifies the subscription timeout within which the remote side MUST subscribe to the handed out stream reference.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
StreamRefAttributes$
public StreamRefAttributes$()
-
-
Method Details
-
subscriptionTimeout
Scala API: Specifies the subscription timeout within which the remote side MUST subscribe to the handed out stream reference. -
subscriptionTimeout
Java API: Specifies the subscription timeout within which the remote side MUST subscribe to the handed out stream reference. -
bufferCapacity
Specifies the size of the buffer on the receiving side that is eagerly filled even without demand. -
demandRedeliveryInterval
Scala API: If no new elements arrive within this timeout, demand is redelivered. -
demandRedeliveryInterval
Java API: If no new elements arrive within this timeout, demand is redelivered. -
finalTerminationSignalDeadline
Scala API: The time between the Terminated signal being received and when the local SourceRef determines to fail itself -
finalTerminationSignalDeadline
Java API: The time between the Terminated signal being received and when the local SourceRef determines to fail itself
-