Cancellation

Cancellation

Overview

Cancellation is a class in Aspose.3D FOSS for Java.

Cancellation offers a lightweight way to request and check for operation cancellation via cancel() and isCancelled().

This class provides 3 methods for working with Cancellation objects in Java programs. Available methods include: Cancellation, cancel, isCancelled. All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: cancelled.

Properties

NameTypeAccessDescription
cancelledbooleanReadGets the cancelled.

Methods

SignatureDescription
Cancellation()Creates a new cancellation token instance
isCancelled()booleanReturns true if cancelled is set.
cancel()Marks the token as cancelled

See Also

 English