|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.event.LoggingReceive$
public class LoggingReceive$
| Field Summary | |
|---|---|
static LoggingReceive$ |
MODULE$
Static reference to the singleton instance of this Scala object. |
| Constructor Summary | |
|---|---|
LoggingReceive$()
|
|
| Method Summary | |
|---|---|
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
apply(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r,
ActorContext context)
Wrap a Receive partial function in a logging enclosure, which sends a debug message to the event bus each time before a message is matched. |
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
create(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r,
ActorContext context)
Java API: compatible with lambda expressions This is an EXPERIMENTAL feature and is subject to change until it has received more real world testing. |
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
withLabel(java.lang.String label,
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r,
ActorContext context)
Create a decorated logger which will append " in state " + label to each message it logs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final LoggingReceive$ MODULE$
| Constructor Detail |
|---|
public LoggingReceive$()
| Method Detail |
|---|
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> apply(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r,
ActorContext context)
def receive = LoggingReceive {
case x => ...
}
This method does NOT modify the given Receive unless
akka.actor.debug.receive is set in configuration.
r - (undocumented)context - (undocumented)
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> create(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r,
ActorContext context)
r - (undocumented)context - (undocumented)
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> withLabel(java.lang.String label,
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r,
ActorContext context)
" in state " + label to each message it logs.
label - (undocumented)r - (undocumented)context - (undocumented)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||