|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.domain.measurement.calltime.CallTimeData
public class CallTimeData
Call-time data for a set of calls to a particular service (e.g. a webapp or a session EJB) over a certain time span.
Plugins report call-time metric data by creating one CallTimeData for each requested schedule and adding
it to the MeasurementReport provided by the plugin container.
| Constructor Summary | |
|---|---|
CallTimeData(MeasurementScheduleRequest schedule)
Create a new CallTimeData. |
|
| Method Summary | |
|---|---|
void |
addAggregatedCallData(String destination,
Date beginTime,
Date endTime,
double minimum,
double maximum,
double total,
long count)
Add data for a set of calls to the specified destination within the specified time interval. |
void |
addCallData(String destination,
Date beginTime,
long duration)
Add data for a call to the specified destination. |
int |
getScheduleId()
|
Map<String,CallTimeDataValue> |
getValues()
Returns a map that maps call destinations to the associated call-time data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CallTimeData(MeasurementScheduleRequest schedule)
CallTimeData.
schedule - the schedule for which this data was collected| Method Detail |
|---|
public void addCallData(@NotNull
String destination,
@NotNull
Date beginTime,
long duration)
destination - the call destinationbeginTime - the time when the call was initiatedduration - the duration of the call, in milliseconds
public void addAggregatedCallData(@NotNull
String destination,
@NotNull
Date beginTime,
@NotNull
Date endTime,
double minimum,
double maximum,
double total,
long count)
destination - the call destinationbeginTime - ...endTime - ...minimum - ...maximum - ...total - ...count - ...public int getScheduleId()
@NotNull public Map<String,CallTimeDataValue> getValues()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||