railo.runtime.debug
Class DebugPageImpl

java.lang.Object
  extended by railo.runtime.debug.DebugPageImpl
All Implemented Interfaces:
Serializable, DebugPage, Dumpable

public final class DebugPageImpl
extends Object
implements Dumpable, DebugPage

To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

See Also:
Serialized Form

Constructor Summary
DebugPageImpl(Resource file)
           
 
Method Summary
 int getAverageExecutionTime()
          return the average execution time of the page
 int getCount()
          return count of call the page
 Resource getFile()
          return file represetati9on of the debug page
 int getMaximalExecutionTime()
          return the maximum execution time of the page
 int getMinimalExecutionTime()
          return the minimum execution time of the page
 void set(long t)
          sets the execution time of the page
 DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
          method to print out information to a object as HTML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugPageImpl

public DebugPageImpl(Resource file)
Parameters:
file -
Method Detail

set

public void set(long t)
Description copied from interface: DebugPage
sets the execution time of the page

Specified by:
set in interface DebugPage
Parameters:
t - execution time of the page

getMinimalExecutionTime

public int getMinimalExecutionTime()
Description copied from interface: DebugPage
return the minimum execution time of the page

Specified by:
getMinimalExecutionTime in interface DebugPage
Returns:
minimum execution time

getMaximalExecutionTime

public int getMaximalExecutionTime()
Description copied from interface: DebugPage
return the maximum execution time of the page

Specified by:
getMaximalExecutionTime in interface DebugPage
Returns:
maximum execution time

getAverageExecutionTime

public int getAverageExecutionTime()
Description copied from interface: DebugPage
return the average execution time of the page

Specified by:
getAverageExecutionTime in interface DebugPage
Returns:
average execution time

getCount

public int getCount()
Description copied from interface: DebugPage
return count of call the page

Specified by:
getCount in interface DebugPage
Returns:
average execution time

getFile

public Resource getFile()
Description copied from interface: DebugPage
return file represetati9on of the debug page

Specified by:
getFile in interface DebugPage
Returns:
file object

toDumpData

public DumpData toDumpData(PageContext pageContext,
                           int maxlevel,
                           DumpProperties dp)
Description copied from interface: Dumpable
method to print out information to a object as HTML

Specified by:
toDumpData in interface Dumpable
Returns:
HTML print out


Copyright © 2012 Railo