Package | Description |
---|---|
org.dataone.cn.index.task |
Modifier and Type | Method and Description |
---|---|
List<IndexTask> |
IndexTaskRepository.findByPid(String pid)
Return a List of IndexTask objects whose pid value matches the pid
parameter value.
|
List<IndexTask> |
IndexTaskRepository.findByPidAndStatus(String pid,
String status)
Return a List of IndexTask objects whose pid and status values match the
corresponding parameter values.
|
List<IndexTask> |
IndexTaskRepository.findByStatusAndNextExecutionLessThan(String status,
long time) |
List<IndexTask> |
IndexTaskRepository.findByStatusAndNextExecutionLessThanAndTryCountLessThan(String status,
long time,
int tryCount) |
List<IndexTask> |
IndexTaskRepository.findByStatusAndTryCountLessThanOrderByPriorityAscTaskModifiedDateAsc(String status,
int tryCount) |
List<IndexTask> |
IndexTaskRepository.findByStatusOrderByPriorityAscTaskModifiedDateAsc(String status)
Return a List of IndexTasks that have a matching status and order the
results by priority and modified date
|
Copyright © 2018. All rights reserved.