IInterruptMonitor
public interface IInterruptMonitor
Represents information about interruption.
Methods
Method | Description |
---|---|
isInterrupted() | Gets the value indicating whether operations should be interrupted. |
interrupt() | Sends a request to interrupt operations. |
isInterrupted()
public abstract boolean isInterrupted()
Gets the value indicating whether operations should be interrupted.
Returns: boolean - the value indicating whether operations should be interrupted.
interrupt()
public abstract void interrupt()
Sends a request to interrupt operations.