public class ShortExecutionMockTask extends MockBackgroundTask
| Modifier and Type | Field and Description |
|---|---|
static AtomicInteger |
resumedCounter |
static AtomicInteger |
startedCounter |
cancelled, sync| Constructor and Description |
|---|
ShortExecutionMockTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeResumeInner(TaskCheckpoint checkpoint) |
protected void |
executeStartInner(TaskId id) |
void |
pause()
Called to suspend the execution of a currently running task.
|
cancelledTasks, clearTasks, completedTasks, resume, start, stop, whenTaskFinishes, whenTaskResumes, whenTaskStartspublic static final AtomicInteger startedCounter
public static final AtomicInteger resumedCounter
protected void executeStartInner(TaskId id)
executeStartInner in class MockBackgroundTaskprotected void executeResumeInner(TaskCheckpoint checkpoint)
executeResumeInner in class MockBackgroundTaskpublic void pause()
BackgroundTaskCopyright © 2017 Grakn Labs Ltd. All rights reserved.