object Attributes extends Serializable
Note that more attributes for the ActorMaterializer are defined in ActorAttributes.
- Source
- Attributes.scala
- Alphabetic
- By Inheritance
- Attributes
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait Attribute extends AnyRef
- final case class InputBuffer(initial: Int, max: Int) extends MandatoryAttribute with Product with Serializable
- final case class LogLevels(onElement: LogLevel, onFinish: LogLevel, onFailure: LogLevel) extends Attribute with Product with Serializable
- sealed trait MandatoryAttribute extends Attribute
- final case class Name(n: String) extends Attribute with Product with Serializable
Value Members
-
def
apply(attribute: Attribute): Attributes
INTERNAL API
- val asyncBoundary: Attributes
-
def
createLogLevels(onElement: LogLevel): Attributes
Java API
Java API
Configures
log()
operator log-levels to be used when logging onElement. Logging a certain operation can be completely disabled by using Attributes#logLevelOff. -
def
createLogLevels(onElement: LogLevel, onFinish: LogLevel, onFailure: LogLevel): Attributes
Java API
Java API
Configures
log()
operator log-levels to be used when logging. Logging a certain operation can be completely disabled by using Attributes#logLevelOff. -
def
extractName(builder: TraversalBuilder, default: String): String
Compute a name by concatenating all Name attributes that the given module has, returning the given default value if none are found.
-
def
inputBuffer(initial: Int, max: Int): Attributes
Specifies the initial and maximum size of the input buffer.
-
def
logLevelDebug: LogLevel
Use to enable logging at DEBUG level for certain operations when configuring Attributes#createLogLevels
-
def
logLevelError: LogLevel
Use to enable logging at ERROR level for certain operations when configuring Attributes#createLogLevels
-
def
logLevelInfo: LogLevel
Use to enable logging at INFO level for certain operations when configuring Attributes#createLogLevels
-
def
logLevelOff: LogLevel
Java API: Use to disable logging on certain operations when configuring Attributes#createLogLevels
-
def
logLevelWarning: LogLevel
Use to enable logging at WARNING level for certain operations when configuring Attributes#createLogLevels
-
def
logLevels(onElement: LogLevel = Logging.DebugLevel, onFinish: LogLevel = Logging.DebugLevel, onFailure: LogLevel = Logging.ErrorLevel): Attributes
Configures
log()
operator log-levels to be used when logging.Configures
log()
operator log-levels to be used when logging. Logging a certain operation can be completely disabled by using LogLevels.Off.See Attributes.createLogLevels for Java API
-
def
name(name: String): Attributes
Specifies the name of the operation.
Specifies the name of the operation. If the name is null or empty the name is ignored, i.e. #none is returned.
When using this method the name is encoded with URLEncoder with UTF-8 because the name is sometimes used as part of actor name. If that is not desired the name can be added in it's raw format using
.addAttributes(Attributes(Name(name)))
. - val none: Attributes
- object AsyncBoundary extends Attribute with Product with Serializable
- object LogLevels extends Serializable