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

字段摘要
static int INDEX_HEADER_SIZE
           
 
构造方法摘要
IndexHeader(ByteBuffer byteBuffer)
           
 
方法摘要
 long getBeginPhyOffset()
           
 long getBeginTimestamp()
           
 long getEndPhyOffset()
           
 long getEndTimestamp()
           
 AtomicInteger getHashSlotCount()
           
 int getIndexCount()
           
 void incHashSlotCount()
           
 void incIndexCount()
           
 void load()
           
 void setBeginPhyOffset(long beginPhyOffset)
           
 void setBeginTimestamp(long beginTimestamp)
           
 void setEndPhyOffset(long endPhyOffset)
           
 void setEndTimestamp(long endTimestamp)
           
 void updateByteBuffer()
          更新byteBuffer
 
从类 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.