public interface ICanceler extends Serializable
| Modifier and Type | Field and Description |
|---|---|
static ICanceler |
DummyCanceler |
| Modifier and Type | Method and Description |
|---|---|
void |
addCancelerListener(ICancelerListener listner) |
void |
cancel() |
void |
check() |
boolean |
isCanceled() |
boolean |
isEnabled() |
void |
removeCancelerListener(ICancelerListener listner) |
default <T,E extends Exception> |
watcherFactory() |
static final ICanceler DummyCanceler
void cancel()
boolean isCanceled()
boolean isEnabled()
void check()
throws InterruptedException
InterruptedExceptionvoid addCancelerListener(ICancelerListener listner)
void removeCancelerListener(ICancelerListener listner)
default <T,E extends Exception> IFactory<IBlock<RuntimeException>,IWatcher,RuntimeException> watcherFactory()
Copyright © 2007–2018 Andreas W. Bartels. All rights reserved.