public class HourlyCounter extends java.lang.Object implements ICounter
| Constructor and Description |
|---|
HourlyCounter() |
HourlyCounter(HourlyCounter hc) |
HourlyCounter(HourlyCounterBean hourlyCounterBean) |
HourlyCounter(int hours) |
HourlyCounter(int hours,
int granularity) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
int |
getCount(int offset)
e.g.
|
int[] |
getData() |
int |
getGranularity() |
int |
getHours() |
int |
getMax()
max val of previous hours (getCount() might return a greater value)
|
int |
getMin()
min val of previous hours (getCount() might return a lower value)
|
java.lang.String |
getTitle() |
void |
increment()
increment by 1
|
void |
increment(int count) |
void |
setTitle(java.lang.String title) |
HourlyCounterBean |
toHourlyCounterBean() |
public HourlyCounter()
public HourlyCounter(int hours)
public HourlyCounter(int hours,
int granularity)
public HourlyCounter(HourlyCounter hc)
public HourlyCounter(HourlyCounterBean hourlyCounterBean)
public int getCount(int offset)
offset - public int getHours()
public void increment()
ICounterpublic void increment(int count)
public void setTitle(java.lang.String title)
public int getMax()
public int getMin()
public int[] getData()
public int getGranularity()
public HourlyCounterBean toHourlyCounterBean()
Copyright © 2015 Molindo GmbH. All Rights Reserved.