Methods Summary |
---|
public java.lang.String | getDescription()returns the description of the statistic
return this.statisticDesc;
|
public long | getLastSampleTime()returns the time in millis, at which the last measurement was taken
return this.sampleTime;
|
public java.lang.String | getName()returns the name of the statistic
return this.statisticName;
|
public long | getStartTime()returns the time in millis, at which the first measurement was taken
return this.startTime;
|
public java.lang.String | getUnit()returns the unit of measurement for the statistic
return this.statisticUnit;
|
public void | setDescription(java.lang.String desc)This is a hack. This method allows us to internatinalize the descriptions.
See bug Id: 5045413
this.statisticDesc = desc;
|
public java.lang.String | toString()
return "Statistic " + getClass().getName() + NEWLINE +
"Name: " + getName() + NEWLINE +
"Description: " + getDescription() + NEWLINE +
"Unit: " + getUnit() + NEWLINE +
"LastSampleTime: " + getLastSampleTime() + NEWLINE +
"StartTime: " + getStartTime();
|