Interface DefaultSystemMessageQueue

All Known Implementing Classes:
CallingThreadMailbox

public interface DefaultSystemMessageQueue
INTERNAL API
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    org.apache.pekko.dispatch.sysmsg.EarliestFirstSystemMessageList
    systemDrain(org.apache.pekko.dispatch.sysmsg.LatestFirstSystemMessageList newContents)
     
    void
    systemEnqueue(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

      void systemEnqueue(ActorRef receiver, SystemMessage message)

      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.systemInvoke makes it current again while the message is handled. See https://github.com/apache/pekko/issues/3472