railo.runtime.debug
Class DebugEntryImpl

java.lang.Object
  extended by railo.runtime.debug.DebugEntryImpl
All Implemented Interfaces:
DebugEntry

public final class DebugEntryImpl
extends Object
implements DebugEntry

a single debug entry


Method Summary
 int getCount()
           
 int getExeTime()
           
 int getFileLoadTime()
           
 String getId()
           
 int getMax()
           
 int getMin()
           
 PageSource getPageSource()
           
 int getQueryTime()
           
 String getSrc()
           
static String getSrc(PageSource source, String key)
           
 void resetQueryTime()
          resets the query time to zero
 void updateExeTime(int exeTime)
           
 void updateFileLoadTime(int fileLoadTime)
           
 void updateQueryTime(int queryTime)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExeTime

public int getExeTime()
Specified by:
getExeTime in interface DebugEntry
Returns:
Returns the exeTime.
See Also:
DebugEntry.getExeTime()

updateExeTime

public void updateExeTime(int exeTime)
Specified by:
updateExeTime in interface DebugEntry
Parameters:
exeTime - The exeTime to set.
See Also:
DebugEntry.updateExeTime(int)

getFileLoadTime

public int getFileLoadTime()
Specified by:
getFileLoadTime in interface DebugEntry
Returns:
Returns the fileLoadTime.
See Also:
DebugEntry.getFileLoadTime()

updateFileLoadTime

public void updateFileLoadTime(int fileLoadTime)
Specified by:
updateFileLoadTime in interface DebugEntry
Parameters:
fileLoadTime - The fileLoadTime to set.
See Also:
DebugEntry.updateFileLoadTime(int)

updateQueryTime

public void updateQueryTime(int queryTime)
Specified by:
updateQueryTime in interface DebugEntry
Parameters:
queryTime - update queryTime
See Also:
DebugEntry.updateQueryTime(int)

getSrc

public String getSrc()
Specified by:
getSrc in interface DebugEntry
Returns:
Returns the src.
See Also:
DebugEntry.getSrc()

getSrc

public static String getSrc(PageSource source,
                            String key)
Parameters:
source -
key -
Returns:
Returns the src.

getCount

public int getCount()
Specified by:
getCount in interface DebugEntry
Returns:
Returns the count.
See Also:
DebugEntry.getCount()

getQueryTime

public int getQueryTime()
Specified by:
getQueryTime in interface DebugEntry
Returns:
Returns the queryTime.
See Also:
DebugEntry.getQueryTime()

getMax

public int getMax()
Specified by:
getMax in interface DebugEntry
Returns:
Returns the max.
See Also:
DebugEntry.getMax()

getMin

public int getMin()
Specified by:
getMin in interface DebugEntry
Returns:
Returns the min.
See Also:
DebugEntry.getMin()

resetQueryTime

public void resetQueryTime()
Description copied from interface: DebugEntry
resets the query time to zero

Specified by:
resetQueryTime in interface DebugEntry
See Also:
DebugEntry.resetQueryTime()

getPageSource

public PageSource getPageSource()
Specified by:
getPageSource in interface DebugEntry
Returns:
Returns the PageSource.

getId

public String getId()
Specified by:
getId in interface DebugEntry
Returns:
the id


Copyright © 2012 Railo