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

In This Topic
    CancellationTokenSource Class Methods
    In This Topic

    For a list of all members of this type, see CancellationTokenSource members.

    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 Method  
    Public MethodReturns a token associated with this CancellationTokenSource.  
    Top
    See Also