Package akka.stream.impl.fusing
Class LogWithMarker<T>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<FlowShape<T,T>>
-
- akka.stream.impl.fusing.GraphStages.SimpleLinearGraphStage<T>
-
- akka.stream.impl.fusing.LogWithMarker<T>
-
- All Implemented Interfaces:
Graph<FlowShape<T,T>,NotUsed>
,java.io.Serializable
,scala.Equals
,scala.Product
public final class LogWithMarker<T> extends GraphStages.SimpleLinearGraphStage<T> implements scala.Product, java.io.Serializable
INTERNAL API- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.stream.Graph
Graph.GraphMapMatVal<S extends Shape,M>
-
-
Constructor Summary
Constructors Constructor Description LogWithMarker(java.lang.String name, scala.Function1<T,LogMarker> marker, scala.Function1<T,java.lang.Object> extract, scala.Option<MarkerLoggingAdapter> logAdapter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> LogWithMarker<T>
apply(java.lang.String name, scala.Function1<T,LogMarker> marker, scala.Function1<T,java.lang.Object> extract, scala.Option<MarkerLoggingAdapter> logAdapter)
boolean
canEqual(java.lang.Object x$1)
<T> LogWithMarker<T>
copy(java.lang.String name, scala.Function1<T,LogMarker> marker, scala.Function1<T,java.lang.Object> extract, scala.Option<MarkerLoggingAdapter> logAdapter)
<T> java.lang.String
copy$default$1()
<T> scala.Function1<T,LogMarker>
copy$default$2()
<T> scala.Function1<T,java.lang.Object>
copy$default$3()
<T> scala.Option<MarkerLoggingAdapter>
copy$default$4()
GraphStageLogic
createLogic(Attributes inheritedAttributes)
boolean
equals(java.lang.Object x$1)
scala.Function1<T,java.lang.Object>
extract()
static java.lang.Object
fromMaterializer()
Must be located here to be visible for implicit resolution, whenMaterializer
is passed toLogging
More specific LogSource thanfromString
, which would add the ActorSystem name in addition to the supervision to the log source.int
hashCode()
scala.Option<MarkerLoggingAdapter>
logAdapter()
scala.Function1<T,LogMarker>
marker()
java.lang.String
name()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
static <T> scala.Option<scala.Tuple4<java.lang.String,scala.Function1<T,LogMarker>,scala.Function1<T,java.lang.Object>,scala.Option<MarkerLoggingAdapter>>>
unapply(LogWithMarker<T> x$0)
-
Methods inherited from class akka.stream.impl.fusing.GraphStages.SimpleLinearGraphStage
in, out, shape
-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, initialAttributes, traversalBuilder, withAttributes
-
-
-
-
Constructor Detail
-
LogWithMarker
public LogWithMarker(java.lang.String name, scala.Function1<T,LogMarker> marker, scala.Function1<T,java.lang.Object> extract, scala.Option<MarkerLoggingAdapter> logAdapter)
-
-
Method Detail
-
fromMaterializer
public static final java.lang.Object fromMaterializer()
Must be located here to be visible for implicit resolution, whenMaterializer
is passed toLogging
More specific LogSource thanfromString
, which would add the ActorSystem name in addition to the supervision to the log source.
-
apply
public static <T> LogWithMarker<T> apply(java.lang.String name, scala.Function1<T,LogMarker> marker, scala.Function1<T,java.lang.Object> extract, scala.Option<MarkerLoggingAdapter> logAdapter)
-
unapply
public static <T> scala.Option<scala.Tuple4<java.lang.String,scala.Function1<T,LogMarker>,scala.Function1<T,java.lang.Object>,scala.Option<MarkerLoggingAdapter>>> unapply(LogWithMarker<T> x$0)
-
name
public java.lang.String name()
-
extract
public scala.Function1<T,java.lang.Object> extract()
-
logAdapter
public scala.Option<MarkerLoggingAdapter> logAdapter()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
createLogic
public GraphStageLogic createLogic(Attributes inheritedAttributes)
- Specified by:
createLogic
in classGraphStage<FlowShape<T,T>>
-
copy
public <T> LogWithMarker<T> copy(java.lang.String name, scala.Function1<T,LogMarker> marker, scala.Function1<T,java.lang.Object> extract, scala.Option<MarkerLoggingAdapter> logAdapter)
-
copy$default$1
public <T> java.lang.String copy$default$1()
-
copy$default$2
public <T> scala.Function1<T,LogMarker> copy$default$2()
-
copy$default$3
public <T> scala.Function1<T,java.lang.Object> copy$default$3()
-
copy$default$4
public <T> scala.Option<MarkerLoggingAdapter> copy$default$4()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-