|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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. |
boolean |
equals(Object o)
|
int |
getScheduleId()
|
Map<String,CallTimeDataValue> |
getValues()
Returns a map that maps call destinations to the associated call-time data. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallTimeData(MeasurementScheduleRequest schedule)
CallTimeData
.
schedule
- the schedule for which this data was collectedMethod 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 millisecondspublic 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()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |