Class DeviceAddingCancellationToken


  • public class DeviceAddingCancellationToken
    extends java.lang.Object
    Cancellation token -- could be used to cancel asynchronous add operation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()
      Cancel the operation
      boolean isCancelled()
      Check if the operation is already cancelled
      boolean isDone()
      Check if the operation is finished
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • cancel

        public void cancel()
        Cancel the operation
      • isCancelled

        public boolean isCancelled()
        Check if the operation is already cancelled
        Returns:
        true, if cancelled
      • isDone

        public boolean isDone()
        Check if the operation is finished
        Returns:
        true, if done