com.opensymphony.xwork2.util.profiling
Class ProfilingTimerBean

java.lang.Object
  extended by com.opensymphony.xwork2.util.profiling.ProfilingTimerBean
All Implemented Interfaces:
Serializable

public class ProfilingTimerBean
extends Object
implements Serializable

Bean to contain information about the pages profiled

Version:
$Date$ $Id$
Author:
Mike Cannon-Brookes, Scott Farquhar
See Also:
Serialized Form

Constructor Summary
ProfilingTimerBean(String resource)
           
 
Method Summary
 void addChild(ProfilingTimerBean child)
           
protected  void addParent(ProfilingTimerBean parent)
           
 ProfilingTimerBean getParent()
           
 String getPrintable(long minTime)
          Get a formatted string representing all the methods that took longer than a specified time.
protected  String getPrintable(String indent, long minTime)
           
 String getResource()
           
 void setEndTime()
           
 void setStartTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfilingTimerBean

public ProfilingTimerBean(String resource)
Method Detail

addParent

protected void addParent(ProfilingTimerBean parent)

getParent

public ProfilingTimerBean getParent()

addChild

public void addChild(ProfilingTimerBean child)

setStartTime

public void setStartTime()

setEndTime

public void setEndTime()

getResource

public String getResource()

getPrintable

public String getPrintable(long minTime)
Get a formatted string representing all the methods that took longer than a specified time.


getPrintable

protected String getPrintable(String indent,
                              long minTime)


Copyright © 2009 OpenSymphony. All Rights Reserved.