Package com.medm.devicekit
Class CollectorStopToken
- java.lang.Object
-
- com.medm.devicekit.CollectorStopToken
-
public class CollectorStopToken extends java.lang.ObjectCollector stop token -- could be used to stop collect data.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCollectFinished()Check if the operation is already finishedbooleanisStopped()Check if the operation is already stoppedvoidstopCollect()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
-
-