Package net.sodacan.core.scheduler
Class Statistics
java.lang.Object
net.sodacan.core.scheduler.Statistics
Hold live statistics for an actor group
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
long
A single actor can be realized more than once at the whim of Sodacan.int
long
int
double
long
int
int
long
int
double
long
long
double
int
boolean
-
Constructor Details
-
Statistics
-
-
Method Details
-
isClosing
public boolean isClosing() -
getElapsed
public double getElapsed() -
getSecondsPerMessage
public double getSecondsPerMessage() -
getMessagesPerSecond
public double getMessagesPerSecond() -
getCurrentHeapUsed
public long getCurrentHeapUsed() -
getCpuCores
public int getCpuCores() -
getMessageCount
public long getMessageCount() -
getSaveCount
public long getSaveCount() -
getRestoreCount
public long getRestoreCount() -
getErrorCount
public long getErrorCount() -
getActiveThreadCount
-
getMessageLoad
public int getMessageLoad() -
getMaxMessageLoad
public int getMaxMessageLoad() -
getCurrentJobQueue
public int getCurrentJobQueue() -
getActorsRealized
public long getActorsRealized()A single actor can be realized more than once at the whim of Sodacan. Therefore, this cannot be used to know how many unique actors have been created.- Returns:
-
getActorsEvicted
public long getActorsEvicted() -
getTotalSleepTime
public int getTotalSleepTime() -
getMaxThreadQueueDepth
public int getMaxThreadQueueDepth() -
getRunning
-
getClosing
-
getActorGroupName
-