public class TaskAPI extends API
| Modifier and Type | Field and Description |
|---|---|
static String |
TASK_ID |
static long |
TASK_TIMEOUT |
static String |
TASKS |
BATCH_ENCODING, CHARSET, client, NO_LIMIT, PATH_SPLITOR| Constructor and Description |
|---|
TaskAPI(RestClient client,
String graph) |
| Modifier and Type | Method and Description |
|---|---|
Task |
cancel(long id) |
void |
delete(long id) |
Task |
get(long id) |
String |
graph() |
List<Task> |
list(List<Long> ids) |
List<Task> |
list(String status,
long limit) |
TasksWithPage |
list(String status,
String page,
long limit) |
static long |
parseTaskId(Map<String,Object> task) |
protected String |
type() |
Task |
waitUntilTaskSuccess(long taskId,
long seconds) |
checkLimit, checkOffset, path, path, pathpublic static final String TASKS
public static final String TASK_ID
public static final long TASK_TIMEOUT
public TaskAPI(RestClient client, String graph)
Copyright © 2023 The Apache Software Foundation. All rights reserved.