Class ActorAttributes$
Materializer.
Note that more attributes defined in Attributes.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ActorAttributes$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateLogLevels(Logging.LogLevel onElement) Java APIcreateLogLevels(Logging.LogLevel onElement, Logging.LogLevel onFinish, Logging.LogLevel onFailure) Java APIdebugLogging(boolean enabled) Enables additional low level troubleshooting logging at DEBUG log leveldispatcher(String dispatcher) Specifies the name of the dispatcher.fuzzingMode(boolean enabled) Test utility: fuzzing mode means that GraphStage events are not processed in FIFO order within a fused subgraph, but randomized.logLevels(Logging.LogLevel onElement, Logging.LogLevel onFinish, Logging.LogLevel onFailure) Configureslog()operator log-levels to be used when logging.maxFixedBufferSize(int size) Configure the maximum buffer size for which a FixedSizeBuffer will be preallocated.outputBurstLimit(int limit) Maximum number of elements emitted in batch if downstream signals large demand.Java API: Defines a timeout for stream subscription and what action to take when that hits.streamSubscriptionTimeout(scala.concurrent.duration.FiniteDuration timeout, StreamSubscriptionTimeoutTerminationMode mode) Scala API: Defines a timeout for stream subscription and what action to take when that hits.supervisionStrategy(scala.Function1<Throwable, Supervision.Directive> decider) Scala API: Decides how exceptions from user are to be handled.syncProcessingLimit(int limit) Limit for number of messages that can be processed synchronously in stream to substream communicationJava API: Decides how exceptions from application code are to be handled.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ActorAttributes$
public ActorAttributes$()
-
-
Method Details
-
IODispatcher
-
dispatcher
Specifies the name of the dispatcher. This also adds an async boundary. -
supervisionStrategy
Scala API: Decides how exceptions from user are to be handled.Operators supporting supervision strategies explicitly document that they do so. If a operator does not document support for these, it should be assumed it does not support supervision.
For the Java API see
withSupervisionStrategy(org.apache.pekko.japi.function.Function<java.lang.Throwable, org.apache.pekko.stream.Supervision.Directive>) -
withSupervisionStrategy
Java API: Decides how exceptions from application code are to be handled.Operators supporting supervision strategies explicitly document that they do so. If a operator does not document support for these, it should be assumed it does not support supervision.
For the Scala API see
supervisionStrategy(scala.Function1<java.lang.Throwable, org.apache.pekko.stream.Supervision.Directive>) -
createLogLevels
public Attributes createLogLevels(Logging.LogLevel onElement, Logging.LogLevel onFinish, Logging.LogLevel onFailure) Java APIConfigures
log()operator log-levels to be used when logging. Logging a certain operation can be completely disabled by usingAttributes.logLevelOff(). -
createLogLevels
Java APIConfigures
log()operator log-levels to be used when logging onElement. Logging a certain operation can be completely disabled by usingAttributes.logLevelOff(). -
logLevels
public Attributes logLevels(Logging.LogLevel onElement, Logging.LogLevel onFinish, Logging.LogLevel onFailure) Configureslog()operator log-levels to be used when logging. Logging a certain operation can be completely disabled by usingLogLevels.Off.See
Attributes.createLogLevelsfor Java API -
logLevels$default$1
-
logLevels$default$2
-
logLevels$default$3
-
debugLogging
Enables additional low level troubleshooting logging at DEBUG log level -
streamSubscriptionTimeout
public Attributes streamSubscriptionTimeout(scala.concurrent.duration.FiniteDuration timeout, StreamSubscriptionTimeoutTerminationMode mode) Scala API: Defines a timeout for stream subscription and what action to take when that hits. -
streamSubscriptionTimeout
public Attributes streamSubscriptionTimeout(Duration timeout, StreamSubscriptionTimeoutTerminationMode mode) Java API: Defines a timeout for stream subscription and what action to take when that hits. -
outputBurstLimit
Maximum number of elements emitted in batch if downstream signals large demand. -
fuzzingMode
Test utility: fuzzing mode means that GraphStage events are not processed in FIFO order within a fused subgraph, but randomized. -
maxFixedBufferSize
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. -
syncProcessingLimit
Limit for number of messages that can be processed synchronously in stream to substream communication
-