|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectesmska.update.Statistics
public class Statistics
Class handling everything needed about collecting and posting program usage statistics.
| Constructor Summary | |
|---|---|
Statistics()
|
|
| Method Summary | |
|---|---|
static net.sf.json.JSONObject |
collectUsageInfo()
Collect program usage info and return it as a JSON object. |
static void |
refreshUUID()
If the UUID hasn't already been changed this month, changes it. |
static void |
sendUsageInfo()
Send program usage info to Esmska server if appropriate (check with shouldSend()) |
static boolean |
shouldSend()
Decide whether to send statistics to Esmska server or not. |
| 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 static void refreshUUID()
public static net.sf.json.JSONObject collectUsageInfo()
public static void sendUsageInfo()
shouldSend())
public static boolean shouldSend()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||