Package org.apache.pekko.dispatch
Interface DefaultSystemMessageQueue
- All Known Implementing Classes:
CallingThreadMailbox
public interface DefaultSystemMessageQueue
INTERNAL API
-
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.pekko.dispatch.sysmsg.EarliestFirstSystemMessageListsystemDrain(org.apache.pekko.dispatch.sysmsg.LatestFirstSystemMessageList newContents) voidsystemEnqueue(ActorRef receiver, SystemMessage message) Opentelemetry Java Instrumentation relies on this method so avoid changing it.
-
Method Details
-
hasSystemMessages
boolean hasSystemMessages() -
systemDrain
org.apache.pekko.dispatch.sysmsg.EarliestFirstSystemMessageList systemDrain(org.apache.pekko.dispatch.sysmsg.LatestFirstSystemMessageList newContents) -
systemEnqueue
Opentelemetry Java Instrumentation relies on this method so avoid changing it. The agent attaches the context that is current at enqueue time to the system message here, and
ActorCell.systemInvokemakes it current again while the message is handled. See https://github.com/apache/pekko/issues/3472
-