Package com.medm.devicekit
Class CollectorStopToken
java.lang.Object
com.medm.devicekit.CollectorStopToken
Collector stop token -- could be used to stop collect data.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the operation is already finishedboolean
Check if the operation is already stoppedvoid
Stop collecting data
-
Method Details
-
stopCollect
public void stopCollect()Stop collecting data -
isStopped
public boolean isStopped()Check if the operation is already stopped- Returns:
- true, if stopped
-
isCollectFinished
public boolean isCollectFinished()Check if the operation is already finished- Returns:
- true, if finished
-