Class DefaultCancellation

    • Constructor Detail

      • DefaultCancellation

        public DefaultCancellation()
    • Method Detail

      • getCancel

        public boolean getCancel()
        When set to true attempts to cancel a long running operation. The value must be set by a thread other than the thread running the operation to be cancelled.
        Specified by:
        getCancel in interface Cancellation
      • setCancel

        public void setCancel​(boolean value)
        When set to true attempts to cancel a long running operation. The value must be set by a thread other than the thread running the operation to be cancelled.
        Specified by:
        setCancel in interface Cancellation