com.taobao.common.store.journal.impl
类 OpItemEntry
java.lang.Object
com.taobao.common.store.journal.impl.OpItemEntry
public class OpItemEntry
- extends Object
存储在硬盘上的OpItem
- 从以下版本开始:
- 1.0, 2009-10-20 上午11:26:37
- 作者:
- boyan
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIZE
public static final int SIZE
- 另请参见:
- 常量字段值
OpItemEntry
public OpItemEntry(OpItem opItem,
boolean deleted)
isLoaded
public boolean isLoaded()
unload
public void unload()
getChannelIndex
public byte getChannelIndex()
setChannelIndex
public void setChannelIndex(byte channelIndex)
load
public void load(MappedByteBuffer mappedByteBuffer,
int offset,
boolean loadItem)
throws IOException
- 抛出:
IOException
encode
public byte[] encode()
getOpItem
public OpItem getOpItem()
isDeleted
public boolean isDeleted()
setDeleted
public void setDeleted(boolean deleted)
Copyright © 2010–2013. All rights reserved.