All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.joyqueue.domain.ConsumeRetry Maven / Gradle / Ivy

There is a newer version: 4.2.7
Show newest version
/**
 * Copyright 2019 The JoyQueue Authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.joyqueue.domain;

/**
 * 重试消息存储对象
 * 

* Created by chengzhiliang on 2018/9/6. */ public class ConsumeRetry { // 记录唯一标示 private long id; // 消息ID(全局唯一) private String messageId; // 业务ID private String businessId; // 主题 private String topic; // 应用 private String app; // 发送时间 private long sendTime; // 过期时间 private long expireTime; // 重试时间 private long retryTime; // 重试次数 private short retryCount; // 消息体 private byte[] data; // 异常 private byte[] exception; // 创建时间 private long createTime; // 创建人 private int createBy; // 更新时间 private long updateTime; // 更新人 private int updateBy; // 状态 private short status; public long getId() { return id; } public void setId(long id) { this.id = id; } public String getMessageId() { return messageId; } public void setMessageId(String messageId) { this.messageId = messageId; } public String getBusinessId() { return businessId; } public void setBusinessId(String businessId) { this.businessId = businessId; } public String getTopic() { return topic; } public void setTopic(String topic) { this.topic = topic; } public String getApp() { return app; } public void setApp(String app) { this.app = app; } public long getSendTime() { return sendTime; } public void setSendTime(long sendTime) { this.sendTime = sendTime; } public long getExpireTime() { return expireTime; } public void setExpireTime(long expireTime) { this.expireTime = expireTime; } public long getRetryTime() { return retryTime; } public void setRetryTime(long retryTime) { this.retryTime = retryTime; } public short getRetryCount() { return retryCount; } public void setRetryCount(short retryCount) { this.retryCount = retryCount; } public byte[] getData() { return data; } public void setData(byte[] data) { this.data = data; } public byte[] getException() { return exception; } public void setException(byte[] exception) { this.exception = exception; } public long getCreateTime() { return createTime; } public void setCreateTime(long createTime) { this.createTime = createTime; } public int getCreateBy() { return createBy; } public void setCreateBy(int createBy) { this.createBy = createBy; } public long getUpdateTime() { return updateTime; } public void setUpdateTime(long updateTime) { this.updateTime = updateTime; } public int getUpdateBy() { return updateBy; } public void setUpdateBy(int updateBy) { this.updateBy = updateBy; } public short getStatus() { return status; } public void setStatus(short status) { this.status = status; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy