All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.AbstractInterruptMonitor.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





AbstractInterruptMonitor




com.aspose.cells
Class AbstractInterruptMonitor

java.lang.Object
    extended by com.aspose.cells.AbstractInterruptMonitor
Direct Known Subclasses:
InterruptMonitor

public abstract class AbstractInterruptMonitor 
extends java.lang.Object

Monitor for interruption requests in all time-consuming operations.


Property Getters/Setters Summary
abstract booleanisInterruptionRequested()
           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.
booleangetTerminateWithoutException()
           When procedure is interrupted, whether terminate the procedure quietly or throw an Exception. Default is false, that is, when IsInterruptionRequested is true, a CellsException with code ExceptionType.INTERRUPTED will be thrown.
 

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, a CellsException with code ExceptionType.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.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy