CMCommon, CoffeeTableRow, CMObject, java.lang.Cloneable, java.lang.Comparable<CMObject>public class DefaultCoffeeTableRow extends java.lang.Object implements CoffeeTableRow
| Modifier and Type | Field | Description | 
|---|---|---|
| long | endTime | |
| long | highestOnline | |
| long | highestPOnline | |
| long | numberOnlineCounter | |
| long | numberOnlineTotal | |
| long | numberPOnlineTotal | |
| long | startTime | |
| java.util.Map<java.lang.String,long[]> | stats | 
idConverterSTAT_ARRESTS, STAT_BIRTHS, STAT_CLASSCHANGE, STAT_CMDUSE, STAT_DEATHS, STAT_DIVORCES, STAT_EXECUTIONS, STAT_JAILINGS, STAT_LEVELSGAINED, STAT_LOGINS, STAT_MARRIAGES, STAT_NEWPLAYERS, STAT_PAROLES, STAT_PKDEATHS, STAT_PURGES, STAT_QUESTACCEPTED, STAT_QUESTDROPPED, STAT_QUESTFAILED, STAT_QUESTFAILEDSTART, STAT_QUESTSTARTATTEMPT, STAT_QUESTSTOP, STAT_QUESTSUCCESS, STAT_QUESTTIMESTART, STAT_QUESTTIMESTOP, STAT_SKILLUSE, STAT_SOCUSE, STAT_SPECIAL_NUMONLINE, STAT_TICKSONLINE, STAT_TOTAL, STAT_WARRANTS| Constructor | Description | 
|---|---|
| DefaultCoffeeTableRow() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | bumpVal(CMObject E,
       int type) | Gathers relevant information about the given Environmental object
 (usually MOB or Ability) and adds to the relevant statistics. | 
| void | bumpVal(java.lang.String s,
       int type) | Finds a named statistic of the given name, and increments the value
 of that long statistic by 1. | 
| int | compareTo(CMObject o) | |
| CMObject | copyOf() | Similar to Cloneable.clone(), but does its best to make sure that
 any internal objects to this class are also copyOfed. | 
| java.lang.String | data() | Returns an XML document representing all the information in this object. | 
| long | endTime() | The end time, in millis since 1970, for this row of data | 
| long | highestCharsOnline() | Returns the highest number of chars online during this period. | 
| long | highestOnline() | Returns the highest number of players online during this period. | 
| java.lang.String | ID() | The CoffeeMud Java Class ID shared by all instances of
 this object. | 
| void | initializeClass() | Called ONCE after all objects are loaded, but before the map is read in
 during initialization. | 
| java.lang.String | name() | The displayable name of this object. | 
| CMObject | newInstance() | Returns a new instance of this class. | 
| long | numberCharsOnlineTotal() | Returns the cumulative number online during this period per poll. | 
| long | numberOnlineCounter() | Returns the number of times the number of players online has been
 polled during this period. | 
| long | numberOnlineTotal() | Returns the cumulative number online during this period per poll. | 
| void | populate(long start,
        long end,
        java.lang.String data) | Populates this object from an xml document containing relevant statistics. | 
| void | setEndTime(long time) | Sets the end time, in millis since 1970, for this row of data | 
| void | setStartTime(long time) | Sets the start time, in millis since 1970, for this row of data | 
| long | startTime() | The start time, in millis since 1970, for this row of data | 
| java.lang.String | tagFix(java.lang.String s) | Simple method that replaces a strings spaces with _
 characters, and makes the string uppercase. | 
| void | totalUp(java.lang.String code,
       long[] tot) | Loops through adding all the event stats for the given code string
 together | 
public java.util.Map<java.lang.String,long[]> stats
public long highestOnline
public long numberOnlineTotal
public long numberOnlineCounter
public long highestPOnline
public long numberPOnlineTotal
public long startTime
public long endTime
public java.lang.String ID()
CMObjectpublic java.lang.String name()
CMObjectname in interface CMObjectEnvironmental.Name()public int compareTo(CMObject o)
compareTo in interface java.lang.Comparable<CMObject>public void setStartTime(long time)
CoffeeTableRowsetStartTime in interface CoffeeTableRowtime - the start time in millisCoffeeTableRow.startTime()public void setEndTime(long time)
CoffeeTableRowsetEndTime in interface CoffeeTableRowtime - the end time in millisCoffeeTableRow.endTime()public long startTime()
CoffeeTableRowstartTime in interface CoffeeTableRowCoffeeTableRow.setStartTime(long)public long endTime()
CoffeeTableRowendTime in interface CoffeeTableRowCoffeeTableRow.setEndTime(long)public long highestOnline()
CoffeeTableRowhighestOnline in interface CoffeeTableRowpublic long numberOnlineTotal()
CoffeeTableRownumberOnlineTotal in interface CoffeeTableRowCoffeeTableRow.numberOnlineCounter()public long numberOnlineCounter()
CoffeeTableRownumberOnlineCounter in interface CoffeeTableRowCoffeeTableRow.numberOnlineTotal()public long highestCharsOnline()
CoffeeTableRowhighestCharsOnline in interface CoffeeTableRowpublic long numberCharsOnlineTotal()
CoffeeTableRownumberCharsOnlineTotal in interface CoffeeTableRowCoffeeTableRow.numberOnlineCounter()public java.lang.String data()
CoffeeTableRowdata in interface CoffeeTableRowCoffeeTableRow.populate(long, long, String)public void bumpVal(java.lang.String s,
                    int type)
CoffeeTableRowbumpVal in interface CoffeeTableRows - the named statistic to record for the given eventtype - the type of event to tabulateCoffeeTableRow.STAT_LOGINSpublic void totalUp(java.lang.String code,
                    long[] tot)
CoffeeTableRowtotalUp in interface CoffeeTableRowcode - the code string to use, or *tot - the running total of all events statsCoffeeTableRow.STAT_TOTALpublic java.lang.String tagFix(java.lang.String s)
CoffeeTableRowtagFix in interface CoffeeTableRows - the string to changepublic void bumpVal(CMObject E, int type)
CoffeeTableRowbumpVal in interface CoffeeTableRowE - the mob or abilitytype - the type of event to tabulateCoffeeTableRow.STAT_LOGINSpublic void populate(long start,
                     long end,
                     java.lang.String data)
CoffeeTableRowpopulate in interface CoffeeTableRowstart - the start time, in millis, for this row of dataend - the end time, in millis, for this row of datadata - the statistics and data for this row, as xmlCoffeeTableRow.data()public CMObject newInstance()
CMObjectnewInstance in interface CMObjectpublic void initializeClass()
CMObjectinitializeClass in interface CMObject