final class ActorMaterializerSettings extends AnyRef
This class describes the configurable properties of the ActorMaterializer.
Please refer to the withX methods for descriptions of the individual settings.
The constructor is not public API, use create or apply on the ActorMaterializerSettings companion instead.
- Source
- ActorMaterializer.scala
- Alphabetic
- By Inheritance
- ActorMaterializerSettings
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from ActorMaterializerSettings toany2stringadd[ActorMaterializerSettings] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ActorMaterializerSettings, B)
- Implicit
- This member is added by an implicit conversion from ActorMaterializerSettings toArrowAssoc[ActorMaterializerSettings] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def ensuring(cond: (ActorMaterializerSettings) => Boolean, msg: => Any): ActorMaterializerSettings
- Implicit
- This member is added by an implicit conversion from ActorMaterializerSettings toEnsuring[ActorMaterializerSettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ActorMaterializerSettings) => Boolean): ActorMaterializerSettings
- Implicit
- This member is added by an implicit conversion from ActorMaterializerSettings toEnsuring[ActorMaterializerSettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ActorMaterializerSettings
- Implicit
- This member is added by an implicit conversion from ActorMaterializerSettings toEnsuring[ActorMaterializerSettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ActorMaterializerSettings
- Implicit
- This member is added by an implicit conversion from ActorMaterializerSettings toEnsuring[ActorMaterializerSettings] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- ActorMaterializerSettings → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val ioSettings: IOSettings
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val streamRefSettings: StreamRefSettings
- val subscriptionTimeoutSettings: StreamSubscriptionTimeoutSettings
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ActorMaterializerSettings → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withIOSettings(ioSettings: IOSettings): ActorMaterializerSettings
- def withStreamRefSettings(streamRefSettings: StreamRefSettings): ActorMaterializerSettings
- def withSubscriptionTimeoutSettings(settings: StreamSubscriptionTimeoutSettings): ActorMaterializerSettings
Leaked publishers and subscribers are cleaned up when they are not used within a given deadline, configured by StreamSubscriptionTimeoutSettings.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ActorMaterializerSettings toStringFormat[ActorMaterializerSettings] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
- def withDispatcher(dispatcher: String): ActorMaterializerSettings
This setting configures the default dispatcher to be used by streams materialized with the ActorMaterializer.
This setting configures the default dispatcher to be used by streams materialized with the ActorMaterializer. This can be overridden for individual parts of the stream topology by using pekko.stream.Attributes#dispatcher.
- Annotations
- @deprecated
- Deprecated
(Since version Akka 2.6.0) Use attribute 'ActorAttributes.Dispatcher' to change setting value
- def withInputBuffer(initialSize: Int, maxSize: Int): ActorMaterializerSettings
Each asynchronous piece of a materialized stream topology is executed by one Actor that manages an input buffer for all inlets of its shape.
Each asynchronous piece of a materialized stream topology is executed by one Actor that manages an input buffer for all inlets of its shape. This setting configures the default for initial and maximal input buffer in number of elements for each inlet. This can be overridden for individual parts of the stream topology by using pekko.stream.Attributes#inputBuffer.
FIXME: this is used for all kinds of buffers, not only the stream actor, some use initial some use max, document and or fix if it should not be like that. Search for get[Attributes.InputBuffer] to see how it is used
- Annotations
- @deprecated
- Deprecated
(Since version Akka 2.6.0) Use attribute 'Attributes.InputBuffer' to change setting value
- def →[B](y: B): (ActorMaterializerSettings, B)
- Implicit
- This member is added by an implicit conversion from ActorMaterializerSettings toArrowAssoc[ActorMaterializerSettings] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.