Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / CancellationTokenSource Class
Methods

In This Topic
    CancellationTokenSource Class Members
    In This Topic

    The following tables list the members exposed by CancellationTokenSource.

    Public Constructors
    Public Methods
     NameDescription
    Public MethodInitiates cancel request. All operations that have been associated with this token will be cancelled.

    It is assumed that the consumers of getToken will do 'best-effort' attempt to perform cancellation.This method returns immediately and if the cancellation is successful the cancelled operation will throw java.util.concurrent.CancellationException.

     
    Public MethodSchedules a cancel operation on this CancellationTokenSource after the specified time span.  
    Public MethodCloses the resource and performs cleanup operations.  
    Public MethodReturns a token associated with this CancellationTokenSource.  
    Top
    See Also