com.bigdata.journal
Class CommitRecordSerializer
java.lang.Object
com.bigdata.journal.CommitRecordSerializer
public class CommitRecordSerializer
- extends Object
A helper class for (de-)serializing the root addresses.
- Version:
- $Id: CommitRecordSerializer.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
- TODO:
- we could use run length encoding to write only the used roots.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION0
public static final int VERSION0
- See Also:
- Constant Field Values
INSTANCE
public static final transient CommitRecordSerializer INSTANCE
CommitRecordSerializer
public CommitRecordSerializer()
serialize
public byte[] serialize(ICommitRecord commitRecord)
deserialize
public ICommitRecord deserialize(ByteBuffer buf)
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.