Class Statistics

java.lang.Object
net.sodacan.core.scheduler.Statistics

public class Statistics extends Object
Hold live statistics for an actor group
  • Constructor Details

    • Statistics

      public Statistics(ActorGroup actorGroup)
  • 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

      public Integer 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

      public Boolean getRunning()
    • getClosing

      public Boolean getClosing()
    • getActorGroupName

      public String getActorGroupName()