public interface Tracer
extends java.lang.AutoCloseable
Implementations may choose to generate traces on Tracer.processedBy(io.spine.core.MessageId, io.spine.system.server.EntityTypeName)
or on close()
for bulk processing.
Modifier and Type | Method and Description |
---|---|
void |
processedBy(io.spine.core.MessageId receiver,
io.spine.system.server.EntityTypeName receiverType)
Marks the message to be processed by an entity with the given
MessageId . |
io.spine.core.Signal<?,?,?> |
signal()
Obtains the traced signal message.
|
io.spine.core.Signal<?,?,?> signal()
void processedBy(io.spine.core.MessageId receiver, io.spine.system.server.EntityTypeName receiverType)
MessageId
.
This method is invoked after the message is processed.
receiver
- the entity handling the signalreceiverType
- the class of the entity handling the signal