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

字段摘要
static int SIZE
           
 
构造方法摘要
OpItemEntry(OpItem opItem, boolean deleted)
           
 
方法摘要
 byte[] encode()
           
 byte getChannelIndex()
           
 OpItem getOpItem()
           
 boolean isDeleted()
           
 boolean isLoaded()
           
 void load(MappedByteBuffer mappedByteBuffer, int offset, boolean loadItem)
           
 void setChannelIndex(byte channelIndex)
           
 void setDeleted(boolean deleted)
           
 void unload()
           
 
从类 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.