object StreamRefAttributes
Attributes for stream refs (akka.stream.SourceRef and akka.stream.SinkRef). Note that more attributes defined in Attributes and ActorAttributes.
- Source
- Attributes.scala
- Alphabetic
- By Inheritance
- StreamRefAttributes
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class BufferCapacity(capacity: Int) extends StreamRefAttribute with Product with Serializable
- final case class DemandRedeliveryInterval(timeout: FiniteDuration) extends StreamRefAttribute with Product with Serializable
- final case class FinalTerminationSignalDeadline(timeout: FiniteDuration) extends StreamRefAttribute with Product with Serializable
- sealed trait StreamRefAttribute extends Attribute
Attributes specific to stream refs.
Attributes specific to stream refs.
Not for user extension.
- Annotations
- @DoNotInherit()
- final case class SubscriptionTimeout(timeout: FiniteDuration) extends StreamRefAttribute with Product with Serializable
Value Members
- def bufferCapacity(capacity: Int): Attributes
Specifies the size of the buffer on the receiving side that is eagerly filled even without demand.
- def demandRedeliveryInterval(timeout: Duration): Attributes
Java API: If no new elements arrive within this timeout, demand is redelivered.
- def demandRedeliveryInterval(timeout: FiniteDuration): Attributes
Scala API: If no new elements arrive within this timeout, demand is redelivered.
- def finalTerminationSignalDeadline(timeout: Duration): Attributes
Java API: The time between the Terminated signal being received and when the local SourceRef determines to fail itself
- def finalTerminationSignalDeadline(timeout: FiniteDuration): Attributes
Scala API: The time between the Terminated signal being received and when the local SourceRef determines to fail itself
- def subscriptionTimeout(timeout: Duration): Attributes
Java API: Specifies the subscription timeout within which the remote side MUST subscribe to the handed out stream reference.
- def subscriptionTimeout(timeout: FiniteDuration): Attributes
Scala API: Specifies the subscription timeout within which the remote side MUST subscribe to the handed out stream reference.