Class ActorInfo


  • public class ActorInfo
    extends java.lang.Object
    Information about an actor returned by ActorsMXBean.
    • Constructor Summary

      Constructors 
      Constructor Description
      ActorInfo​(long id, java.lang.String name, boolean fiber, long receivedMessages, int queueLength, int restarts, java.lang.String[] lastDeathCauses, java.lang.String[] mailbox, java.lang.String stackTrace)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getId()
      The actor's strand's ID
      java.lang.String[] getLastDeathCauses()
      The latest few death-causes for this actor (relevant if it's been restarted by a SupervisorActor.
      java.lang.String[] getMailbox()
      The messages currently waiting in the actor's mailbox
      java.lang.String getName()
      The actor's name
      int getQueueLength()
      The number of messages currently waiting in the actor's mailbox.
      long getReceivedMessages()
      The number of messages this actor has received.
      int getRestarts()
      The number of times this actor has been restarted by a SupervisorActor.
      java.lang.String getStackTrace()
      The actor's current call-stack
      boolean isFiber()
      Whether the actor's strand is a fiber
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ActorInfo

        @ConstructorParameters({"id","name","fiber","receivedMessages","queueLength","restarts","lastDeathCauses","mailbox","stackTrace"})
        public ActorInfo​(long id,
                         java.lang.String name,
                         boolean fiber,
                         long receivedMessages,
                         int queueLength,
                         int restarts,
                         java.lang.String[] lastDeathCauses,
                         java.lang.String[] mailbox,
                         java.lang.String stackTrace)
    • Method Detail

      • getId

        public long getId()
        The actor's strand's ID
      • getName

        public java.lang.String getName()
        The actor's name
      • isFiber

        public boolean isFiber()
        Whether the actor's strand is a fiber
      • getReceivedMessages

        public long getReceivedMessages()
        The number of messages this actor has received.
      • getQueueLength

        public int getQueueLength()
        The number of messages currently waiting in the actor's mailbox.
      • getRestarts

        public int getRestarts()
        The number of times this actor has been restarted by a SupervisorActor.
      • getLastDeathCauses

        public java.lang.String[] getLastDeathCauses()
        The latest few death-causes for this actor (relevant if it's been restarted by a SupervisorActor.
      • getMailbox

        public java.lang.String[] getMailbox()
        The messages currently waiting in the actor's mailbox
      • getStackTrace

        public java.lang.String getStackTrace()
        The actor's current call-stack