CoffeeTablespublic interface StatisticsLibrary extends CMLibrary
CoffeeTableRowidConverter| 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, shutdowncopyOf, ID, initializeClass, name, newInstancevoid update()
void bump(CMObject E, int type)
E - the object that is having its stat bumpedtype - the type of stat to bumpCoffeeTableRow.STAT_ARRESTSjava.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