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

com.redismq.server.store.MessageStoreStrategy Maven / Gradle / Ivy

The newest version!
package com.redismq.server.store;

import com.redismq.common.pojo.GroupOffsetQeueryMessageDTO;
import com.redismq.common.pojo.Message;
import com.redismq.server.pojo.HistoryMessageQueryDTO;
import com.redismq.server.pojo.HistoryMessageVO;
import com.redismq.server.pojo.PageResult;

import java.util.List;

public interface MessageStoreStrategy {
    
    boolean updateStatusByIds(List ids,int status);
    
    boolean saveMessages(List message);
    
    void clearExpireMessage();
    
    List getMessageListByQueueAndOffset(GroupOffsetQeueryMessageDTO offset);
    
    PageResult pageMessageList(HistoryMessageQueryDTO message);
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy