|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.infrared.agent.AggregateApiTime
This class measures and stores the aggregate timing information and invocation count of an API execution.
| Constructor Summary | |
AggregateApiTime()
For castor mapping |
|
AggregateApiTime(Api api)
|
|
AggregateApiTime(ApiTime someApi)
Constructs a new AggregateApiTime object which can track aggregate execution times and invocation counts of the API represented by a given ApiTime object. |
|
AggregateApiTime(String apiName,
String apiType)
Constructs a new AggregateApiTime object representing the specified apiName. |
|
| Method Summary | |
boolean |
aggregate(ApiTime someApi)
Aggregates the time taken by another invocation of this API. |
void |
aggregate(long execTime)
|
void |
aggregate(long execTime,
long execTimeExclusive)
|
Object |
clone()
|
double |
getAdjAverageTime()
|
double |
getAdjAverageTimeExclusive()
|
Api |
getApi()
|
String |
getApiName()
Gets the name of the api whose aggregate execution time is tracked by this object. |
String |
getApiType()
Gets the type of the API represented by this ApiTime. |
double |
getAverageTime()
Gets the aggregate execution time of the API represented by this object. |
double |
getAverageTimeExclusive()
|
long |
getCount()
Gets the number of times the API represnted by this object was invoked. |
long |
getFirstExecutionTime()
|
long |
getFirstExecutionTimeExclusive()
|
long |
getLastExecutionTime()
|
long |
getLastExecutionTimeExclusive()
|
long |
getMaxTime()
|
long |
getMaxTimeExclusive()
|
long |
getMinTime()
|
long |
getMinTimeExclusive()
|
SqlStatistics[] |
getSqlStatistics()
|
SqlStatisticsMap |
getSqlStatisticsMap()
|
long |
getTotalTime()
Gets the total time taken for the execution of the API represented by this object. |
long |
getTotalTimeExclusive()
|
String |
getTruncatedName()
|
boolean |
hasSqlStatistics()
|
void |
merge(AggregateApiTime other)
|
void |
merge(AggregateApiTime other,
IdMapper idMapper)
|
void |
setApi(Api api)
|
void |
setSqlStatistics(SqlStatistics[] sqlStatistics)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AggregateApiTime()
public AggregateApiTime(String apiName,
String apiType)
apiName - the name of the API which this object is going to representpublic AggregateApiTime(Api api)
public AggregateApiTime(ApiTime someApi)
someApi -
IllegalArgumentException - if someApi passed in is null or has executionTime not set yet| Method Detail |
public String getApiName()
public long getCount()
public long getTotalTime()
public long getTotalTimeExclusive()
public String getApiType()
public boolean aggregate(ApiTime someApi)
someApi -
public void aggregate(long execTime,
long execTimeExclusive)
public void aggregate(long execTime)
public void merge(AggregateApiTime other,
IdMapper idMapper)
public void merge(AggregateApiTime other)
public double getAverageTime()
public double getAverageTimeExclusive()
public long getMaxTime()
public long getMaxTimeExclusive()
public long getMinTime()
public long getMinTimeExclusive()
public long getLastExecutionTime()
public long getLastExecutionTimeExclusive()
public String toString()
public Api getApi()
public void setApi(Api api)
public long getFirstExecutionTime()
public long getFirstExecutionTimeExclusive()
public SqlStatisticsMap getSqlStatisticsMap()
public SqlStatistics[] getSqlStatistics()
public void setSqlStatistics(SqlStatistics[] sqlStatistics)
public boolean hasSqlStatistics()
public Object clone()
public double getAdjAverageTime()
public double getAdjAverageTimeExclusive()
public String getTruncatedName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||