Package com.medm.devicekit
Class CollectorStopToken
- java.lang.Object
-
- com.medm.devicekit.CollectorStopToken
-
public class CollectorStopToken extends java.lang.Object
Collector stop token -- could be used to stop collect data.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCollectFinished()
Check if the operation is already finishedboolean
isStopped()
Check if the operation is already stoppedvoid
stopCollect()
Stop collecting data
-
-
-
Method Detail
-
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
-
-