com.alibaba.rocketmq.store
类 DispatchRequest

java.lang.Object
  继承者 com.alibaba.rocketmq.store.DispatchRequest

public class DispatchRequest
extends Object

分发消息位置信息到逻辑队列和索引服务

从以下版本开始:
2013-7-21
作者:
shijia.wxr

构造方法摘要
DispatchRequest(int size)
           
DispatchRequest(String topic, int queueId, long commitLogOffset, int msgSize, long tagsCode, long storeTimestamp, long consumeQueueOffset, String keys, int sysFlag, long preparedTransactionOffset)
           
 
方法摘要
 long getCommitLogOffset()
           
 long getConsumeQueueOffset()
           
 String getKeys()
           
 int getMsgSize()
           
 long getPreparedTransactionOffset()
           
 int getQueueId()
           
 long getStoreTimestamp()
           
 int getSysFlag()
           
 long getTagsCode()
           
 String getTopic()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DispatchRequest

public DispatchRequest(String topic,
                       int queueId,
                       long commitLogOffset,
                       int msgSize,
                       long tagsCode,
                       long storeTimestamp,
                       long consumeQueueOffset,
                       String keys,
                       int sysFlag,
                       long preparedTransactionOffset)

DispatchRequest

public DispatchRequest(int size)
方法详细信息

getTopic

public String getTopic()

getQueueId

public int getQueueId()

getCommitLogOffset

public long getCommitLogOffset()

getMsgSize

public int getMsgSize()

getStoreTimestamp

public long getStoreTimestamp()

getConsumeQueueOffset

public long getConsumeQueueOffset()

getKeys

public String getKeys()

getTagsCode

public long getTagsCode()

getSysFlag

public int getSysFlag()

getPreparedTransactionOffset

public long getPreparedTransactionOffset()


Copyright © 2012–2015. All rights reserved.