public class TaskDescriptorHelper extends Object
Constructor and Description |
---|
TaskDescriptorHelper(TaskManager taskManager) |
Modifier and Type | Method and Description |
---|---|
TaskDescriptor<IndexCommandResult> |
getActiveIndexTask() |
TaskDescriptor<IndexCommandResult> |
getIndexTask(long taskId) |
TaskDescriptor<IndexCommandResult> |
getLastIndexTask() |
void |
waitForTaskCompletion(TaskDescriptor<IndexCommandResult> task) |
public TaskDescriptorHelper(TaskManager taskManager)
@Nullable public TaskDescriptor<IndexCommandResult> getActiveIndexTask()
public void waitForTaskCompletion(@Nonnull TaskDescriptor<IndexCommandResult> task) throws InterruptedException, ExecutionException
@Nullable public TaskDescriptor<IndexCommandResult> getLastIndexTask()
@Nullable public TaskDescriptor<IndexCommandResult> getIndexTask(long taskId)
Copyright © 2002-2019 Atlassian. All Rights Reserved.