public class RetryCommand extends Object implements com.jd.laf.web.vertx.Command<com.jd.laf.web.vertx.response.Response>, com.jd.laf.web.vertx.pool.Poolable
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.joyqueue.model.domain.Identity |
operator |
protected RetryService |
retryService |
| 构造器和说明 |
|---|
RetryCommand() |
| 限定符和类型 | 方法和说明 |
|---|---|
com.jd.laf.web.vertx.response.Response |
batchDelete(org.joyqueue.model.query.QRetry qRetry)
批量删除
|
com.jd.laf.web.vertx.response.Response |
batchRecovery(String ids)
批量恢复
|
void |
clean() |
com.jd.laf.web.vertx.response.Response |
delete(Long id,
String topic) |
void |
download(Long id,
String topic)
单个下载
|
com.jd.laf.web.vertx.response.Response |
execute() |
com.jd.laf.web.vertx.response.Response |
isServerEnabled()
重试服务是否可用
|
com.jd.laf.web.vertx.response.Response |
pageQuery(org.joyqueue.model.QPageQuery<org.joyqueue.model.query.QRetry> qPageQuery) |
com.jd.laf.web.vertx.response.Response |
recovery(Long id,
String topic)
恢复
|
protected org.joyqueue.model.domain.Identity operator
protected RetryService retryService
public com.jd.laf.web.vertx.response.Response pageQuery(org.joyqueue.model.QPageQuery<org.joyqueue.model.query.QRetry> qPageQuery)
throws Exception
Exceptionpublic com.jd.laf.web.vertx.response.Response recovery(Long id, String topic) throws Exception
id - Exceptionpublic com.jd.laf.web.vertx.response.Response delete(Long id, String topic) throws Exception
Exceptionpublic com.jd.laf.web.vertx.response.Response batchDelete(org.joyqueue.model.query.QRetry qRetry)
throws Exception
qRetry - Exceptionpublic com.jd.laf.web.vertx.response.Response batchRecovery(String ids) throws Exception
ids - Exceptionpublic com.jd.laf.web.vertx.response.Response isServerEnabled()
throws Exception
Exceptionpublic com.jd.laf.web.vertx.response.Response execute()
throws Exception
execute 在接口中 com.jd.laf.web.vertx.Command<com.jd.laf.web.vertx.response.Response>Exceptionpublic void clean()
clean 在接口中 com.jd.laf.web.vertx.pool.PoolableCopyright © 2020 Joyqueue Community. All rights reserved.