类 com.alibaba.rocketmq.client.consumer.store.ReadOffsetType
的使用

使用 ReadOffsetType 的软件包
com.alibaba.rocketmq.client.consumer.store   
 

com.alibaba.rocketmq.client.consumer.storeReadOffsetType 的使用
 

返回 ReadOffsetTypecom.alibaba.rocketmq.client.consumer.store 中的方法
static ReadOffsetType ReadOffsetType.valueOf(String name)
          返回带有指定名称的该类型的枚举常量。
static ReadOffsetType[] ReadOffsetType.values()
          按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。
 

参数类型为 ReadOffsetTypecom.alibaba.rocketmq.client.consumer.store 中的方法
 long RemoteBrokerOffsetStore.readOffset(MessageQueue mq, ReadOffsetType type)
           
 long OffsetStore.readOffset(MessageQueue mq, ReadOffsetType type)
          从本地缓存读取消费进度
 long LocalFileOffsetStore.readOffset(MessageQueue mq, ReadOffsetType type)
           
 



Copyright © 2012-2014. All Rights Reserved.