Package com.storedobject.iot
Class DataSet
java.lang.Object
com.storedobject.iot.DataSet
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic longGet the last time a ping was received.static List<DataSet.SiteData> getSites()static longgetTime()Get the last time data was updated (GMT).static intstatic voidrefresh()static voidstatic voidunregister(Consumer<Id> consumer)
-
Method Details
-
getTime
public static long getTime()Get the last time data was updated (GMT).- Returns:
- Time.
-
getPingTime
public static long getPingTime()Get the last time a ping was received.- Returns:
- Ping-time.
-
getValueCount
public static int getValueCount() -
getSites
-
refresh
public static void refresh() -
register
-
unregister
-