com.alibaba.tmq.client.system.consumer.executer.ConsumeContext Maven / Gradle / Ivy
package com.alibaba.tmq.client.system.consumer.executer;
import java.util.Date;
/**
* 消费上下文
* @author tianyao.myc
*
*/
public class ConsumeContext {
/** 远端地址 */
private String remoteAddress;
//服务器推送时间
private Date serverPushTime;
public String getRemoteAddress() {
return remoteAddress;
}
protected void setRemoteAddress(String remoteAddress) {
this.remoteAddress = remoteAddress;
}
public Date getServerPushTime() {
return serverPushTime;
}
protected void setServerPushTime(Date serverPushTime) {
this.serverPushTime = serverPushTime;
}
}