public class ConsumeOffsetCommand extends Object implements com.jd.laf.web.vertx.Command<com.jd.laf.web.vertx.response.Response>, com.jd.laf.web.vertx.pool.Poolable
| 构造器和说明 |
|---|
ConsumeOffsetCommand() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clean() |
com.jd.laf.web.vertx.response.Response |
execute() |
com.jd.laf.web.vertx.response.Response |
offsetBound(org.joyqueue.model.domain.Subscribe subscribe,
String location)
offset
|
com.jd.laf.web.vertx.response.Response |
offsets(org.joyqueue.model.domain.Subscribe subscribe) |
com.jd.laf.web.vertx.response.Response |
resetByTime(org.joyqueue.model.domain.Subscribe subscribe,
String timestamp)
Reset partition offset by timestamp
|
com.jd.laf.web.vertx.response.Response |
resetOffsets(org.joyqueue.model.domain.ResetOffsetInfo offsetInfo)
Reset offsets for @code subscribe
|
com.jd.laf.web.vertx.response.Response |
resetPartition(org.joyqueue.model.domain.Subscribe subscribe,
String partition,
String offset)
Reset partition offset for @code subscribe
|
public 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 com.jd.laf.web.vertx.response.Response offsets(org.joyqueue.model.domain.Subscribe subscribe)
public com.jd.laf.web.vertx.response.Response offsetBound(org.joyqueue.model.domain.Subscribe subscribe,
String location)
public com.jd.laf.web.vertx.response.Response resetByTime(org.joyqueue.model.domain.Subscribe subscribe,
String timestamp)
public com.jd.laf.web.vertx.response.Response resetPartition(org.joyqueue.model.domain.Subscribe subscribe,
String partition,
String offset)
public com.jd.laf.web.vertx.response.Response resetOffsets(org.joyqueue.model.domain.ResetOffsetInfo offsetInfo)
public void clean()
clean 在接口中 com.jd.laf.web.vertx.pool.PoolableCopyright © 2020 Joyqueue Community. All rights reserved.