org.jdesktop.wonderland.server.cell
Class RevalidatePerformanceMonitor

java.lang.Object
  extended by org.jdesktop.wonderland.server.cell.RevalidatePerformanceMonitor

public class RevalidatePerformanceMonitor
extends java.lang.Object

Collect performance metrics on the times it takes to revalidate the a cell cache

Author:
paulby

Constructor Summary
RevalidatePerformanceMonitor()
           
 
Method Summary
 java.lang.String getRevalidateStats()
           
static java.lang.String getTotals()
           
 void incBoundsCalcTime(long incNanoSeconds)
          Increment the calc time by specified number of nano seconds
 void incBoundsCellCount(java.lang.Class c)
           
 void incBoundsGetTime(java.lang.Class c, long incNanoSeconds)
           
 void incMessageCount()
           
 void incNewCellTime(long incNanoSeconds)
           
 void incOldCellTime(long incNanoSeconds)
           
 void incTotalTime(long incNanoSeconds)
           
 void incUpdateCellTime(long incNanoSeconds)
           
static boolean printSingle()
           
static boolean printTotals()
           
static void resetTotals()
           
 void setException(boolean exception)
           
 void setVisibleCellCount(int visibleCellCount)
           
 void updateTotals()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RevalidatePerformanceMonitor

public RevalidatePerformanceMonitor()
Method Detail

resetTotals

public static void resetTotals()

printTotals

public static boolean printTotals()

printSingle

public static boolean printSingle()

getTotals

public static java.lang.String getTotals()

updateTotals

public void updateTotals()

getRevalidateStats

public java.lang.String getRevalidateStats()

setVisibleCellCount

public void setVisibleCellCount(int visibleCellCount)

setException

public void setException(boolean exception)

incTotalTime

public void incTotalTime(long incNanoSeconds)

incNewCellTime

public void incNewCellTime(long incNanoSeconds)

incUpdateCellTime

public void incUpdateCellTime(long incNanoSeconds)

incOldCellTime

public void incOldCellTime(long incNanoSeconds)

incBoundsCalcTime

public void incBoundsCalcTime(long incNanoSeconds)
Increment the calc time by specified number of nano seconds


incBoundsGetTime

public void incBoundsGetTime(java.lang.Class c,
                             long incNanoSeconds)

incBoundsCellCount

public void incBoundsCellCount(java.lang.Class c)

incMessageCount

public void incMessageCount()


Open Wonderland - http://openwonderland.org