Package akka.stream
Class StreamRefAttributes
- java.lang.Object
-
- akka.stream.StreamRefAttributes
-
public class StreamRefAttributes extends java.lang.ObjectAttributes for stream refs (SourceRefandSinkRef). Note that more attributes defined inAttributesandActorAttributes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamRefAttributes.BufferCapacitystatic classStreamRefAttributes.BufferCapacity$static classStreamRefAttributes.DemandRedeliveryIntervalstatic classStreamRefAttributes.DemandRedeliveryInterval$static classStreamRefAttributes.FinalTerminationSignalDeadlinestatic classStreamRefAttributes.FinalTerminationSignalDeadline$static interfaceStreamRefAttributes.StreamRefAttributeAttributes specific to stream refs.static classStreamRefAttributes.SubscriptionTimeoutstatic classStreamRefAttributes.SubscriptionTimeout$
-
Constructor Summary
Constructors Constructor Description StreamRefAttributes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttributesbufferCapacity(int capacity)Specifies the size of the buffer on the receiving side that is eagerly filled even without demand.static AttributesdemandRedeliveryInterval(java.time.Duration timeout)Java API: If no new elements arrive within this timeout, demand is redelivered.static AttributesdemandRedeliveryInterval(scala.concurrent.duration.FiniteDuration timeout)Scala API: If no new elements arrive within this timeout, demand is redelivered.static AttributesfinalTerminationSignalDeadline(java.time.Duration timeout)Java API: The time between the Terminated signal being received and when the local SourceRef determines to fail itselfstatic AttributesfinalTerminationSignalDeadline(scala.concurrent.duration.FiniteDuration timeout)Scala API: The time between the Terminated signal being received and when the local SourceRef determines to fail itselfstatic AttributessubscriptionTimeout(java.time.Duration timeout)Java API: Specifies the subscription timeout within which the remote side MUST subscribe to the handed out stream reference.static AttributessubscriptionTimeout(scala.concurrent.duration.FiniteDuration timeout)Scala API: Specifies the subscription timeout within which the remote side MUST subscribe to the handed out stream reference.
-
-
-
Method Detail
-
subscriptionTimeout
public static Attributes 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.
-
subscriptionTimeout
public static Attributes subscriptionTimeout(java.time.Duration timeout)
Java API: Specifies the subscription timeout within which the remote side MUST subscribe to the handed out stream reference.
-
bufferCapacity
public static Attributes bufferCapacity(int capacity)
Specifies the size of the buffer on the receiving side that is eagerly filled even without demand.
-
demandRedeliveryInterval
public static Attributes demandRedeliveryInterval(scala.concurrent.duration.FiniteDuration timeout)
Scala API: If no new elements arrive within this timeout, demand is redelivered.
-
demandRedeliveryInterval
public static Attributes demandRedeliveryInterval(java.time.Duration timeout)
Java API: If no new elements arrive within this timeout, demand is redelivered.
-
finalTerminationSignalDeadline
public static Attributes finalTerminationSignalDeadline(scala.concurrent.duration.FiniteDuration timeout)
Scala API: The time between the Terminated signal being received and when the local SourceRef determines to fail itself
-
finalTerminationSignalDeadline
public static Attributes finalTerminationSignalDeadline(java.time.Duration timeout)
Java API: The time between the Terminated signal being received and when the local SourceRef determines to fail itself
-
-