com.alibaba.rocketmq.store.index
类 IndexHeader
java.lang.Object
com.alibaba.rocketmq.store.index.IndexHeader
public class IndexHeader
- extends Object
索引文件头
- 从以下版本开始:
- 2013-7-21
- 作者:
- shijia.wxr
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INDEX_HEADER_SIZE
public static final int INDEX_HEADER_SIZE
- 另请参见:
- 常量字段值
IndexHeader
public IndexHeader(ByteBuffer byteBuffer)
load
public void load()
updateByteBuffer
public void updateByteBuffer()
- 更新byteBuffer
getBeginTimestamp
public long getBeginTimestamp()
setBeginTimestamp
public void setBeginTimestamp(long beginTimestamp)
getEndTimestamp
public long getEndTimestamp()
setEndTimestamp
public void setEndTimestamp(long endTimestamp)
getBeginPhyOffset
public long getBeginPhyOffset()
setBeginPhyOffset
public void setBeginPhyOffset(long beginPhyOffset)
getEndPhyOffset
public long getEndPhyOffset()
setEndPhyOffset
public void setEndPhyOffset(long endPhyOffset)
getHashSlotCount
public AtomicInteger getHashSlotCount()
incHashSlotCount
public void incHashSlotCount()
getIndexCount
public int getIndexCount()
incIndexCount
public void incIndexCount()
Copyright © 2012–2015. All rights reserved.