com.taobao.common.store.journal
类 DataFileAppender
java.lang.Object
com.taobao.common.store.journal.DataFileAppender
public class DataFileAppender
- extends Object
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxWriteBatchSize
protected int maxWriteBatchSize
inflyWrites
protected final Map<BytesKey,JournalStore.InflyWriteData> inflyWrites
DataFileAppender
public DataFileAppender(JournalStore journalStore)
remove
public OpItem remove(OpItem opItem,
BytesKey bytesKey,
boolean sync)
throws IOException
- 抛出:
IOException
store
public OpItem store(OpItem opItem,
BytesKey bytesKey,
byte[] data,
boolean sync)
throws IOException
- 抛出:
IOException
close
public void close()
processQueue
public void processQueue()
getDataFromInFlyWrites
public byte[] getDataFromInFlyWrites(BytesKey key)
sync
public void sync()
Copyright © 2010–2013. All rights reserved.