org.apache.flume.channel.file
Class TransactionEventRecord
java.lang.Object
org.apache.flume.channel.file.TransactionEventRecord
@InterfaceAudience.Private
@InterfaceStability.Unstable
public abstract class TransactionEventRecord
- extends Object
Base class for records in data file: Put, Take, Rollback, Commit
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionEventRecord
protected TransactionEventRecord(long transactionID,
long logWriteOrderID)
readFields
public void readFields(DataInput in)
throws IOException
- Deserialize the fields of this object from
in
- Parameters:
in
- DataInput
to deserialize this object from.
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Serialize the fields of this object to
out
- Parameters:
out
- DataOutput
to serialize this object into.
- Throws:
IOException
Copyright © 2009-2013 Apache Software Foundation. All Rights Reserved.