|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jetrix.config.Statistics
public class Statistics
Basic statistics about the server usage.
Constructor Summary | |
---|---|
Statistics()
|
Method Summary | |
---|---|
int |
getConnectionCount()
Return the number of connections from spectators and players. |
int |
getGameCount()
Return the number of games played. |
long |
getUpTime()
Return the uptime of the server (in days). |
void |
increaseConnectionCount()
Add 1 to the number of connections. |
void |
increaseGameCount()
Add 1 to the number of games played. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Statistics()
Method Detail |
---|
public long getUpTime()
public int getGameCount()
public void increaseGameCount()
public int getConnectionCount()
public void increaseConnectionCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |