com.aspose.cells.AbstractInterruptMonitor.html Maven / Gradle / Ivy
AbstractInterruptMonitor
com.aspose.cells
Class AbstractInterruptMonitor
java.lang.Object
com.aspose.cells.AbstractInterruptMonitor
- Direct Known Subclasses:
- InterruptMonitor
public abstract class AbstractInterruptMonitor
- extends java.lang.Object
Property Getters/Setters Summary | ||
---|---|---|
abstract boolean | isInterruptionRequested() | |
Indicates whether interruption is requested for current operation. If true then current operation will be interrupted. Implementation should perform fast and efficient check here, otherwise it may become another bottleneck for the procedure. | ||
boolean | getTerminateWithoutException() | |
When procedure is interrupted, whether terminate the procedure quietly or throw an Exception.
Default is false, that is, when |
Property Getters/Setters Detail |
---|
isInterruptionRequested | |
public abstract boolean isInterruptionRequested() |
Indicates whether interruption is requested for current operation. If true then current operation will be interrupted. Implementation should perform fast and efficient check here, otherwise it may become another bottleneck for the procedure.
getTerminateWithoutException | |
public boolean getTerminateWithoutException() |
When procedure is interrupted, whether terminate the procedure quietly or throw an Exception. Default is false, that is, when IsInterruptionRequested is true, aCellsException with codeExceptionType.INTERRUPTED will be thrown.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.