Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / CancellationTokenSource Class
Members
In This Topic
    CancellationTokenSource Class
    In This Topic
    A CancellationTokenSource allows you to issue cancellation requests to one or more methods.To use a token source:
    • Create a token source.
    • Attach the token to one or more operations by passing the return value of getToken as parameter.
    • Later, you can cancel the associated operations by calling cancel on this token source.

    This class is thread safe.

    Object Model
    CancellationTokenSource ClassCancellationToken Class
    Syntax
    public class CancellationTokenSource 
        extends Object
        implements java.lang.AutoCloseable  
    Inheritance Hierarchy

    java.lang.Object
       com.grapecity.documents.excel.CancellationTokenSource

    See Also