Data object used to store the measurements of a performance counter.
Description
The Counter class allows you to create data objects used to store the measurements of performance counters.
Important points
- This object is used by CachedCounters to store counters.
Constructors
Creates a instance of the data object.
public
public Counter(String name, int type)
- name: string - a counter name.
- type: int - a counter type.
Fields
Instance methods
getName
public
String getName()
getType
public
void setName(String name)
getName
public
int getType()
setType
public
void setType(int type)
getLast
public
Float getLast()
setLast
public
void setLast(Float last)
getCount
public
Integer getCount()
setCount
public
void setCount(Integer count)
getMin
public
Float getMin()
setMin
public
void setMin(Float min)
getMax
public
Float getMax()
setMax
public
setMax(Float max)
getAverage
public
Float getAverage()
setAverage
public
setAverage(Float average)
getTime
public
ZonedDateTime getTime()
setTime
public
setTime(ZonedDateTime time)