InterruptMonitor
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.cells.AbstractInterruptMonitor
public class InterruptMonitor extends AbstractInterruptMonitor
Represents all operator about the interrupt.
Constructors
Constructor | Description |
---|---|
InterruptMonitor() |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getTerminateWithoutException() | When procedure is interrupted, whether terminate the procedure quietly or throw an Exception. |
hashCode() | |
interrupt() | Interrupt the current operator. |
isInterruptionRequested() | Mark the monitor as requesting interruption |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
InterruptMonitor()
public InterruptMonitor()
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
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.
Returns: boolean
hashCode()
public native int hashCode()
Returns: int
interrupt()
public void interrupt()
Interrupt the current operator.
isInterruptionRequested()
public boolean isInterruptionRequested()
Mark the monitor as requesting interruption
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |