Package org.apache.pekko.stream
Class ActorAttributes.StreamSubscriptionTimeout
- java.lang.Object
-
- org.apache.pekko.stream.ActorAttributes.StreamSubscriptionTimeout
-
- All Implemented Interfaces:
java.io.Serializable
,Attributes.Attribute
,Attributes.MandatoryAttribute
,scala.Equals
,scala.Product
- Enclosing class:
- ActorAttributes
public static final class ActorAttributes.StreamSubscriptionTimeout extends java.lang.Object implements Attributes.MandatoryAttribute, scala.Product, java.io.Serializable
Defines a timeout for stream subscription and what action to take when that hits.Use factory method
streamSubscriptionTimeout
to create.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StreamSubscriptionTimeout(scala.concurrent.duration.FiniteDuration timeout, StreamSubscriptionTimeoutTerminationMode mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
ActorAttributes.StreamSubscriptionTimeout
copy(scala.concurrent.duration.FiniteDuration timeout, StreamSubscriptionTimeoutTerminationMode mode)
scala.concurrent.duration.FiniteDuration
copy$default$1()
StreamSubscriptionTimeoutTerminationMode
copy$default$2()
boolean
equals(java.lang.Object x$1)
int
hashCode()
StreamSubscriptionTimeoutTerminationMode
mode()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
scala.concurrent.duration.FiniteDuration
timeout()
java.lang.String
toString()
-
-
-
Constructor Detail
-
StreamSubscriptionTimeout
public StreamSubscriptionTimeout(scala.concurrent.duration.FiniteDuration timeout, StreamSubscriptionTimeoutTerminationMode mode)
-
-
Method Detail
-
timeout
public scala.concurrent.duration.FiniteDuration timeout()
-
mode
public StreamSubscriptionTimeoutTerminationMode mode()
-
copy
public ActorAttributes.StreamSubscriptionTimeout copy(scala.concurrent.duration.FiniteDuration timeout, StreamSubscriptionTimeoutTerminationMode mode)
-
copy$default$1
public scala.concurrent.duration.FiniteDuration copy$default$1()
-
copy$default$2
public StreamSubscriptionTimeoutTerminationMode copy$default$2()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-