com.grapecity.documents.excel Package / CancellationTokenSource Class
Methods

CancellationTokenSource Class Members

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