Package akka.stream
Class StreamSubscriptionTimeoutSettings
- java.lang.Object
-
- akka.stream.StreamSubscriptionTimeoutSettings
-
public final class StreamSubscriptionTimeoutSettings extends java.lang.Object
Leaked publishers and subscribers are cleaned up when they are not used within a given deadline, configured byStreamSubscriptionTimeoutSettings
.
-
-
Constructor Summary
Constructors Constructor Description StreamSubscriptionTimeoutSettings(StreamSubscriptionTimeoutTerminationMode mode, scala.concurrent.duration.FiniteDuration timeout)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StreamSubscriptionTimeoutSettings
apply(StreamSubscriptionTimeoutTerminationMode mode, scala.concurrent.duration.FiniteDuration timeout)
Create settings from individual values (Scala).static StreamSubscriptionTimeoutSettings
apply(com.typesafe.config.Config config)
Create settings from a Config subsection (Scala).static StreamSubscriptionTimeoutSettings
create(StreamSubscriptionTimeoutTerminationMode mode, scala.concurrent.duration.FiniteDuration timeout)
Create settings from individual values (Java).static StreamSubscriptionTimeoutSettings
create(com.typesafe.config.Config config)
Create settings from a Config subsection (Java).boolean
equals(java.lang.Object other)
StreamSubscriptionTimeoutTerminationMode
mode()
Deprecated.Use attribute 'ActorAttributes.StreamSubscriptionTimeoutMode' to read the concrete setting value.scala.concurrent.duration.FiniteDuration
timeout()
Deprecated.Use attribute 'ActorAttributes.StreamSubscriptionTimeout' to read the concrete setting value.java.lang.String
toString()
-
-
-
Constructor Detail
-
StreamSubscriptionTimeoutSettings
public StreamSubscriptionTimeoutSettings(StreamSubscriptionTimeoutTerminationMode mode, scala.concurrent.duration.FiniteDuration timeout)
-
-
Method Detail
-
create
public static StreamSubscriptionTimeoutSettings create(StreamSubscriptionTimeoutTerminationMode mode, scala.concurrent.duration.FiniteDuration timeout)
Create settings from individual values (Java).
-
apply
public static StreamSubscriptionTimeoutSettings apply(StreamSubscriptionTimeoutTerminationMode mode, scala.concurrent.duration.FiniteDuration timeout)
Create settings from individual values (Scala).
-
create
public static StreamSubscriptionTimeoutSettings create(com.typesafe.config.Config config)
Create settings from a Config subsection (Java).
-
apply
public static StreamSubscriptionTimeoutSettings apply(com.typesafe.config.Config config)
Create settings from a Config subsection (Scala).
-
mode
public StreamSubscriptionTimeoutTerminationMode mode()
Deprecated.Use attribute 'ActorAttributes.StreamSubscriptionTimeoutMode' to read the concrete setting value. Since 2.6.0.
-
timeout
public scala.concurrent.duration.FiniteDuration timeout()
Deprecated.Use attribute 'ActorAttributes.StreamSubscriptionTimeout' to read the concrete setting value. Since 2.6.0.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-