public class EventPublisher
extends java.lang.Object
| Constructor and Description |
|---|
EventPublisher() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Long |
getCalibrationTimeDelta() |
static long |
getDelCount() |
static long |
getDelMaxCount() |
static long |
getEventCount() |
static long |
getLoadCount() |
static long |
logEvent(JSONObject event) |
static void |
resetDelCount() |
static void |
resetDelMaxCount() |
static void |
resetLoadCount() |
static void |
runOnLogThread(java.lang.Runnable r) |
static void |
tryUpdateCallibrationTimeDelta() |
static void |
updateServer() |
static void |
uploadEvents() |
public static long logEvent(JSONObject event)
event - public static void runOnLogThread(java.lang.Runnable r)
public static void updateServer()
public static void uploadEvents()
public static long getDelCount()
public static long getDelMaxCount()
public static long getLoadCount()
public static void resetDelCount()
public static void resetDelMaxCount()
public static void resetLoadCount()
public static java.lang.Long getCalibrationTimeDelta()
public static long getEventCount()
public static void tryUpdateCallibrationTimeDelta()