com.groupdocs.search.legacy

Interfaces

Classes

Exceptions

com.groupdocs.search.legacy

Class Cancellation


  • Deprecated. 
    This class is deprecated and will be available until January 2020 (version 20.1).

    @Deprecated
    public class Cancellation
    extends Object

    Represents an object for requesting cancellation of an operation.

    • Constructor Summary

      Constructors 
      Constructor and Description
      Cancellation()
      Deprecated. 
      Initializes a new instance of the Cancellation class.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void cancel()
      Deprecated. 
      Makes a request for cancellation.
      void cancelAfter(int milliseconds)
      Deprecated. 
      Makes a request for cancellation after the expiration of specified number of milliseconds.
      protected void finalize()
      Deprecated. 
      Finalizes an instance of the Cancellation class.
      boolean isCancelled()
      Deprecated. 
      Gets a value indicating that cancellation has been requested.
    • Constructor Detail

      • Cancellation

        public Cancellation()
        Deprecated. 

        Initializes a new instance of the Cancellation class.

    • Method Detail

      • finalize

        protected void finalize()
                         throws Throwable
        Deprecated. 

        Finalizes an instance of the Cancellation class.

        Overrides:
        finalize in class Object
        Throws:
        Throwable
      • isCancelled

        public final boolean isCancelled()
        Deprecated. 

        Gets a value indicating that cancellation has been requested.

        Value: A value indicating that cancellation has been requested.
      • cancel

        public final void cancel()
        Deprecated. 

        Makes a request for cancellation.

      • cancelAfter

        public final void cancelAfter(int milliseconds)
        Deprecated. 

        Makes a request for cancellation after the expiration of specified number of milliseconds.

        Parameters:
        milliseconds - The number of milliseconds after which the search will be cancelled.