ActorMaterializerSettings

org.apache.pekko.stream.ActorMaterializerSettings
See theActorMaterializerSettings companion object

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.

Attributes

Companion
object
Source
ActorMaterializer.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Deprecated constructors

def this(initialInputBufferSize: Int, maxInputBufferSize: Int, dispatcher: String, supervisionDecider: Decider, subscriptionTimeoutSettings: StreamSubscriptionTimeoutSettings, debugLogging: Boolean, outputBurstLimit: Int, fuzzingMode: Boolean, autoFusing: Boolean, maxFixedBufferSize: Int, syncProcessingLimit: Int, ioSettings: IOSettings)

Attributes

Deprecated
true
Source
ActorMaterializer.scala
def this(initialInputBufferSize: Int, maxInputBufferSize: Int, dispatcher: String, supervisionDecider: Decider, subscriptionTimeoutSettings: StreamSubscriptionTimeoutSettings, debugLogging: Boolean, outputBurstLimit: Int, fuzzingMode: Boolean, autoFusing: Boolean, maxFixedBufferSize: Int, syncProcessingLimit: Int)

Attributes

Deprecated
true
Source
ActorMaterializer.scala
def this(initialInputBufferSize: Int, maxInputBufferSize: Int, dispatcher: String, supervisionDecider: Decider, subscriptionTimeoutSettings: StreamSubscriptionTimeoutSettings, debugLogging: Boolean, outputBurstLimit: Int, fuzzingMode: Boolean, autoFusing: Boolean, maxFixedBufferSize: Int)

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Concrete methods

override def equals(other: Any): Boolean

Compares the receiver object (this) with the argument object (that) for equivalence.

Compares the receiver object (this) with the argument object (that) for equivalence.

Any implementation of this method should be an equivalence relation:

  • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
  • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any instances x, y, and z of type Any if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).

Value parameters

that

the object to compare against this object for equality.

Attributes

Returns

true if the receiver object is equivalent to the argument; false otherwise.

Definition Classes
Any
Source
ActorMaterializer.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
ActorMaterializer.scala

Change settings specific to SourceRef and SinkRef.

Change settings specific to SourceRef and SinkRef.

Attributes

Source
ActorMaterializer.scala

Leaked publishers and subscribers are cleaned up when they are not used within a given deadline, configured by StreamSubscriptionTimeoutSettings.

Leaked publishers and subscribers are cleaned up when they are not used within a given deadline, configured by StreamSubscriptionTimeoutSettings.

Attributes

Source
ActorMaterializer.scala

Deprecated methods

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Enable to log all elements that are dropped due to failures (at DEBUG level).

Enable to log all elements that are dropped due to failures (at DEBUG level).

Attributes

Deprecated
true
Source
ActorMaterializer.scala

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.

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.

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Test utility: fuzzing mode means that GraphStage events are not processed in FIFO order within a fused subgraph, but randomized.

Test utility: fuzzing mode means that GraphStage events are not processed in FIFO order within a fused subgraph, but randomized.

Attributes

Deprecated
true
Source
ActorMaterializer.scala
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. 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.

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

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Configure the maximum buffer size for which a FixedSizeBuffer will be preallocated. This defaults to a large value because it is usually better to fail early when system memory is not sufficient to hold the buffer.

Configure the maximum buffer size for which a FixedSizeBuffer will be preallocated. This defaults to a large value because it is usually better to fail early when system memory is not sufficient to hold the buffer.

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Maximum number of elements emitted in batch if downstream signals large demand.

Maximum number of elements emitted in batch if downstream signals large demand.

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Scala API: Decides how exceptions from application code are to be handled, unless overridden for specific flows of the stream operations with pekko.stream.Attributes#supervisionStrategy.

Scala API: Decides how exceptions from application code are to be handled, unless overridden for specific flows of the stream operations with pekko.stream.Attributes#supervisionStrategy.

Note that supervision in streams are implemented on a per operator basis and is not supported by every operator.

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Java API: Decides how exceptions from application code are to be handled, unless overridden for specific flows of the stream operations with pekko.stream.Attributes#supervisionStrategy.

Java API: Decides how exceptions from application code are to be handled, unless overridden for specific flows of the stream operations with pekko.stream.Attributes#supervisionStrategy.

Note that supervision in streams are implemented on a per operator basis and is not supported by every operator.

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Limit for number of messages that can be processed synchronously in stream to substream communication

Limit for number of messages that can be processed synchronously in stream to substream communication

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Deprecated fields

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Attributes

Deprecated
true
Source
ActorMaterializer.scala

Attributes

Deprecated
true
Source
ActorMaterializer.scala