com.aliyun.openservices.ons.api.ConsumeContext Maven / Gradle / Ivy
package com.aliyun.openservices.ons.api;
/**
* 每次消费消息的上下文,供将来扩展使用
*/
public class ConsumeContext {
private int acknowledgeIndex;
public ConsumeContext() {
acknowledgeIndex = Integer.MAX_VALUE;
}
public int getAcknowledgeIndex() {
return acknowledgeIndex;
}
public void setAcknowledgeIndex(int acknowledgeIndex) {
this.acknowledgeIndex = acknowledgeIndex;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy