Package co.paralleluniverse.actors
Interface ActorMXBean
-
public interface ActorMXBean
An MXBean monitoring a single actor. This MBean is created for the actor when it isregistered
, or when itsmonitor
method is called.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
getLastDeathCauses()
The latest few death-causes for this actor (relevant if it's been restarted by aSupervisorActor
.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 aSupervisorActor
.java.lang.String[]
mailbox()
The messages currently waiting in the actor's mailboxvoid
refresh()
java.lang.String
stackTrace()
The actor's current call-stack
-
-
-
Method Detail
-
refresh
void refresh()
-
getReceivedMessages
long getReceivedMessages()
The number of messages this actor has received.
-
getQueueLength
int getQueueLength()
The number of messages currently waiting in the actor's mailbox.
-
getRestarts
int getRestarts()
The number of times this actor has been restarted by aSupervisorActor
.
-
getLastDeathCauses
java.lang.String[] getLastDeathCauses()
The latest few death-causes for this actor (relevant if it's been restarted by aSupervisorActor
.
-
mailbox
java.lang.String[] mailbox()
The messages currently waiting in the actor's mailbox
-
stackTrace
java.lang.String stackTrace()
The actor's current call-stack
-
-