public class ArchiveCommand 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.User |
session |
| 构造器和说明 |
|---|
ArchiveCommand() |
| 限定符和类型 | 方法和说明 |
|---|---|
com.jd.laf.web.vertx.response.Response |
archive2retry(org.joyqueue.model.domain.Archive archive)
归档转重试
|
void |
clean() |
com.jd.laf.web.vertx.response.Response |
consume(Object messageId)
查询详情
|
void |
download(String businessId,
String messageId,
String sendTime,
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.query.QArchive qArchive)
分页查询
|
String |
type() |
public com.jd.laf.web.vertx.response.Response pageQuery(org.joyqueue.model.query.QArchive qArchive)
throws Exception
qArchive - Exceptionpublic com.jd.laf.web.vertx.response.Response consume(Object messageId) throws Exception
messageId - Exceptionpublic com.jd.laf.web.vertx.response.Response archive2retry(org.joyqueue.model.domain.Archive archive)
throws Exception
archive - Exceptionpublic void download(String businessId, String messageId, String sendTime, String topic) throws Exception
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 String type()
type 在接口中 com.jd.laf.extension.Type<String>type 在接口中 com.jd.laf.web.vertx.Command<com.jd.laf.web.vertx.response.Response>public void clean()
clean 在接口中 com.jd.laf.web.vertx.pool.PoolableCopyright © 2020 Joyqueue Community. All rights reserved.