public interface IInterruptionTokenSource
Represents the source of IInterruptionToken
.
Modifier and Type | Method and Description |
---|---|
IInterruptionToken |
getToken()
Returns new token binded to this
IInterruptionTokenSource . |
void |
interrupt()
Intialize request for interruption.
|
boolean |
isInterruptionRequested()
Returns true if interruption requested, false otherwise.
|
IInterruptionToken getToken()
Returns new token binded to this IInterruptionTokenSource
.
boolean isInterruptionRequested()
Returns true if interruption requested, false otherwise.
void interrupt()
Intialize request for interruption.