public class Attributes$
extends java.lang.Object
implements scala.Serializable
ActorMaterializer
are defined in ActorAttributes
.Modifier and Type | Field and Description |
---|---|
static Attributes$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Attributes$() |
Modifier and Type | Method and Description |
---|---|
Attributes |
apply(Attributes.Attribute attribute)
INTERNAL API
|
Attributes |
asyncBoundary() |
Attributes |
createLogLevels(Logging.LogLevel onElement,
Logging.LogLevel onFinish,
Logging.LogLevel onFailure)
Java API
|
java.lang.String |
extractName(StreamLayout.Module mod,
java.lang.String default_)
Compute a name by concatenating all Name attributes that the given module
has, returning the given default value if none are found.
|
Attributes |
inputBuffer(int initial,
int max)
Specifies the initial and maximum size of the input buffer.
|
Attributes |
logLevels(Logging.LogLevel onElement,
Logging.LogLevel onFinish,
Logging.LogLevel onFailure)
Configures
log() stage log-levels to be used when logging. |
Attributes |
name(java.lang.String name)
Specifies the name of the operation.
|
Attributes |
none()
INTERNAL API
|
public static final Attributes$ MODULE$
public Attributes apply(Attributes.Attribute attribute)
attribute
- (undocumented)public Attributes none()
public Attributes asyncBoundary()
public Attributes name(java.lang.String name)
none()
is returned.name
- (undocumented)public Attributes inputBuffer(int initial, int max)
initial
- (undocumented)max
- (undocumented)public Attributes createLogLevels(Logging.LogLevel onElement, Logging.LogLevel onFinish, Logging.LogLevel onFailure)
Configures log()
stage log-levels to be used when logging.
Logging a certain operation can be completely disabled by using LogLevels.Off
.
Passing in null as any of the arguments sets the level to its default value, which is:
Debug
for onElement
and onFinish
, and Error
for onFailure
.
onElement
- (undocumented)onFinish
- (undocumented)onFailure
- (undocumented)public Attributes logLevels(Logging.LogLevel onElement, Logging.LogLevel onFinish, Logging.LogLevel onFailure)
log()
stage 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
onElement
- (undocumented)onFinish
- (undocumented)onFailure
- (undocumented)public java.lang.String extractName(StreamLayout.Module mod, java.lang.String default_)
mod
- (undocumented)default_
- (undocumented)