public class PerformanceData extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
AVERAGE_KEY
average sum of all dt-s divided by N; this does not discount the first
measurement
|
static String |
AVERAGEWITHOUTFIRSTMEASUREMENT_KEY
average' (ms) (the sum of all dt-s minus the first dt) divided by N.
|
static String |
FIRSTMEASUREMENTTIME_KEY
first the first dt
|
static String |
LOAD_KEY
Load The sum of all dt-s divided by (tlast - tfirst).
|
static String |
MEDIAN_KEY |
static String |
NUMBEROFMEASUREMENTOBJECTS_KEY
act the number of measurement objects on which begin() was called but not
end().
|
static String |
NUMBEROFMEASUREMENTS_KEY
Number of measurements (or N), i.e. the number of dt-s, i.e. the number
of times that Measurement.begin() - end() was called.
|
static String |
SOURCE_KEY |
static String |
SUB_TOPIC_KEY
sub topic the name of the measurement specified in the second argument of
begin() or in setSubTopic().
|
static String |
THROUGHPUT_KEY
throughput N divided by (tlast - tfirst); this is the average throughput.
|
static String |
TIMETAKEN_KEY
tlast - tfirst the wallclock time of the first measurement's begin()
method is tracked as tfirst and the wallclock time of the last
measurement's end() method is tracked as tlast
|
static String |
TOPIC_KEY
topic the name of the measurement specified in the first argument of
begin() or in setSubTopic().
|
static String |
TOTALTIME_KEY
total time (ms) the sum of all dt-s
|
| Constructor and Description |
|---|
PerformanceData() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertDataMapToXML(Map<String,PerformanceData> dataMap)
Converts a Performance Data Map to an XML String
|
double |
getAverage() |
double |
getAverageWithoutFirstMeasurement() |
String |
getCategory() |
String |
getDisplayString() |
String |
getEndpoint() |
double |
getFirstMeasurementTime() |
double |
getLoad() |
double |
getMedian() |
int |
getNumberOfMeasurementObjects() |
int |
getNumberOfMeasurements() |
static long |
getSerialVersionUID() |
String |
getSourceClassName() |
double |
getThroughput() |
double |
getTimeTaken() |
double |
getTotalTime() |
static Map<String,PerformanceData> |
retrieveDataMap(TabularData tabularData)
Retrieves the Performance Data Map
|
void |
setAverage(double average) |
void |
setAverageWithoutFirstMeasurement(double averageWithoutFirstMeasurement) |
void |
setCategory(String subTopic) |
void |
setEndpoint(String anEndpoint) |
void |
setFirstMeasurementTime(double firstMeasurementTime) |
void |
setLoad(double load) |
void |
setMedian(double median) |
void |
setNumberOfMeasurementObjects(int numberOfMeasurementObjects) |
void |
setNumberOfMeasurements(int numberOfMeasurements) |
void |
setSourceClassName(String sourceClassName) |
void |
setThroughput(double throughput) |
void |
setTimeTaken(double timeTaken) |
void |
setTotalTime(double totalTime) |
public static final String NUMBEROFMEASUREMENTS_KEY
public static final String TOTALTIME_KEY
public static final String AVERAGEWITHOUTFIRSTMEASUREMENT_KEY
public static final String NUMBEROFMEASUREMENTOBJECTS_KEY
public static final String FIRSTMEASUREMENTTIME_KEY
public static final String AVERAGE_KEY
public static final String THROUGHPUT_KEY
public static final String TIMETAKEN_KEY
public static final String LOAD_KEY
public static final String MEDIAN_KEY
public static final String SOURCE_KEY
public static final String SUB_TOPIC_KEY
public static final String TOPIC_KEY
public static Map<String,PerformanceData> retrieveDataMap(TabularData tabularData)
valueObject - public static String convertDataMapToXML(Map<String,PerformanceData> dataMap) throws ManagementRemoteException
dataMap - ManagementRemoteExceptionpublic double getAverage()
public double getAverageWithoutFirstMeasurement()
public double getFirstMeasurementTime()
public double getLoad()
public int getNumberOfMeasurementObjects()
public int getNumberOfMeasurements()
public double getThroughput()
public double getTimeTaken()
public double getTotalTime()
public static long getSerialVersionUID()
public void setAverage(double average)
average - the average to setpublic void setAverageWithoutFirstMeasurement(double averageWithoutFirstMeasurement)
averageWithoutFirstMeasurement - the averageWithoutFirstMeasurement to setpublic void setFirstMeasurementTime(double firstMeasurementTime)
firstMeasurementTime - the firstMeasurementTime to setpublic void setLoad(double load)
load - the load to setpublic void setNumberOfMeasurementObjects(int numberOfMeasurementObjects)
numberOfMeasurementObjects - the numberOfMeasurementObjects to setpublic void setNumberOfMeasurements(int numberOfMeasurements)
numberOfMeasurements - the numberOfMeasurements to setpublic void setThroughput(double throughput)
throughput - the throughput to setpublic void setTimeTaken(double timeTaken)
timeTaken - the timeTaken to setpublic void setTotalTime(double totalTime)
totalTime - the totalTime to setpublic double getMedian()
public void setMedian(double median)
median - the median to setpublic String getSourceClassName()
public void setSourceClassName(String sourceClassName)
sourceClassName - the sourceClassName to setpublic String getEndpoint()
public void setEndpoint(String anEndpoint)
endpoint - the endpoint to setpublic String getCategory()
public void setCategory(String subTopic)
category - the category to setpublic String getDisplayString()
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.