Package akka.stream
Class StreamRefAttributes$
- java.lang.Object
-
- akka.stream.StreamRefAttributes$
-
public class StreamRefAttributes$ extends java.lang.Object
Attributes for stream refs (SourceRef
andSinkRef
). Note that more attributes defined inAttributes
andActorAttributes
.
-
-
Field Summary
Fields Modifier and Type Field Description static StreamRefAttributes$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description StreamRefAttributes$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attributes
bufferCapacity(int capacity)
Specifies the size of the buffer on the receiving side that is eagerly filled even without demand.Attributes
demandRedeliveryInterval(java.time.Duration timeout)
Java API: If no new elements arrive within this timeout, demand is redelivered.Attributes
demandRedeliveryInterval(scala.concurrent.duration.FiniteDuration timeout)
Scala API: If no new elements arrive within this timeout, demand is redelivered.Attributes
finalTerminationSignalDeadline(java.time.Duration timeout)
Java API: The time between the Terminated signal being received and when the local SourceRef determines to fail itselfAttributes
finalTerminationSignalDeadline(scala.concurrent.duration.FiniteDuration timeout)
Scala API: The time between the Terminated signal being received and when the local SourceRef determines to fail itselfAttributes
subscriptionTimeout(java.time.Duration timeout)
Java API: Specifies the subscription timeout within which the remote side MUST subscribe to the handed out stream reference.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.
-
-
-
Field Detail
-
MODULE$
public static final StreamRefAttributes$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
subscriptionTimeout
public 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 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 Attributes bufferCapacity(int capacity)
Specifies the size of the buffer on the receiving side that is eagerly filled even without demand.
-
demandRedeliveryInterval
public Attributes demandRedeliveryInterval(scala.concurrent.duration.FiniteDuration timeout)
Scala API: If no new elements arrive within this timeout, demand is redelivered.
-
demandRedeliveryInterval
public Attributes demandRedeliveryInterval(java.time.Duration timeout)
Java API: If no new elements arrive within this timeout, demand is redelivered.
-
finalTerminationSignalDeadline
public 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 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
-
-