com.alibaba.rocketmq.store
类 StoreCheckpoint

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

public class StoreCheckpoint
extends Object

记录存储模型最终一致的时间点

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

构造方法摘要
StoreCheckpoint(String scpPath)
           
 
方法摘要
 void flush()
           
 long getIndexMsgTimestamp()
           
 long getLogicsMsgTimestamp()
           
 long getMinTimestamp()
           
 long getMinTimestampIndex()
           
 long getPhysicMsgTimestamp()
           
 void setIndexMsgTimestamp(long indexMsgTimestamp)
           
 void setLogicsMsgTimestamp(long logicsMsgTimestamp)
           
 void setPhysicMsgTimestamp(long physicMsgTimestamp)
           
 void shutdown()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

StoreCheckpoint

public StoreCheckpoint(String scpPath)
                throws IOException
抛出:
IOException
方法详细信息

shutdown

public void shutdown()

flush

public void flush()

getPhysicMsgTimestamp

public long getPhysicMsgTimestamp()

setPhysicMsgTimestamp

public void setPhysicMsgTimestamp(long physicMsgTimestamp)

getLogicsMsgTimestamp

public long getLogicsMsgTimestamp()

setLogicsMsgTimestamp

public void setLogicsMsgTimestamp(long logicsMsgTimestamp)

getMinTimestampIndex

public long getMinTimestampIndex()

getMinTimestamp

public long getMinTimestamp()

getIndexMsgTimestamp

public long getIndexMsgTimestamp()

setIndexMsgTimestamp

public void setIndexMsgTimestamp(long indexMsgTimestamp)


Copyright © 2012–2015. All rights reserved.