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 SummaryNested 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 SummaryConstructors Constructor Description StreamRefAttributes()
 - 
Method SummaryAll 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- 
subscriptionTimeoutpublic 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.
 - 
subscriptionTimeoutpublic 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.
 - 
bufferCapacitypublic static Attributes bufferCapacity(int capacity) Specifies the size of the buffer on the receiving side that is eagerly filled even without demand.
 - 
demandRedeliveryIntervalpublic static Attributes demandRedeliveryInterval(scala.concurrent.duration.FiniteDuration timeout) Scala API: If no new elements arrive within this timeout, demand is redelivered.
 - 
demandRedeliveryIntervalpublic static Attributes demandRedeliveryInterval(java.time.Duration timeout) Java API: If no new elements arrive within this timeout, demand is redelivered.
 - 
finalTerminationSignalDeadlinepublic 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
 - 
finalTerminationSignalDeadlinepublic 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
 
- 
 
-