public class TimeoutCanceller extends Object implements ProcessCanceller
| Constructor and Description |
|---|
TimeoutCanceller(long timeoutInMs) |
| Modifier and Type | Method and Description |
|---|---|
long |
getDuration() |
String |
getErrorMessage(Process<?> processAction) |
boolean |
isCancelled() |
protected void |
processStarted() |
public long getDuration()
protected void processStarted()
public boolean isCancelled()
isCancelled in interface ProcessCancellerpublic String getErrorMessage(Process<?> processAction)
getErrorMessage in interface ProcessCancellerCopyright © 2016. All Rights Reserved.