CoffeeTables
public interface StatisticsLibrary extends CMLibrary
CoffeeTableRow
idConverter
Modifier and Type | Method | Description |
---|---|---|
void |
bump(CMObject E,
int type) |
Add a new statistic by bumping its total.
|
java.util.List<CoffeeTableRow> |
readRawStats(long startDate,
long endDate) |
Returns all of the statistics rows between the given dates, with
the end date usually being 0 for some reason.
|
void |
update() |
Flush any cached statistics to the database.
|
activate, getServiceClient, L, propertiesLoaded, shutdown
copyOf, ID, initializeClass, name, newInstance
void update()
void bump(CMObject E, int type)
E
- the object that is having its stat bumpedtype
- the type of stat to bumpCoffeeTableRow.STAT_ARRESTS
java.util.List<CoffeeTableRow> readRawStats(long startDate, long endDate)
startDate
- the start date in millisecondsendDate
- 0 for 'up to the present', or an end date in milliseconds