com.aspose.cells
Class InterruptMonitor

java.lang.Object
  extended by AbstractInterruptMonitor
      extended by com.aspose.cells.InterruptMonitor

public class InterruptMonitor 
extends AbstractInterruptMonitor

Represents all operator about the interrupt.


Constructor Summary
InterruptMonitor()
          
 
Property Getters/Setters Summary
booleanisInterruptionRequested()
           Mark the monitor as requesting interruption
booleangetTerminateWithoutException()→ inherited from AbstractInterruptMonitor
           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.
 
Method Summary
voidinterrupt()
           Interrupt the current operator.
 

Constructor Detail

InterruptMonitor

public InterruptMonitor()

Property Getters/Setters Detail

isInterruptionRequested

public boolean isInterruptionRequested()
Mark the monitor as requesting interruption

getTerminateWithoutException

→ inherited from AbstractInterruptMonitor
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.

Method Detail

interrupt

public void interrupt()
Interrupt the current operator.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.