com.nhncorp.neptune.changelog
Class TestChangeLog

java.lang.Object
  extended by com.nhncorp.neptune.changelog.TestChangeLog
All Implemented Interfaces:
NWritable, java.lang.Comparable<TestChangeLog>

public class TestChangeLog
extends java.lang.Object
implements NWritable, java.lang.Comparable<TestChangeLog>


Field Summary
 byte[] content
           
 byte[] id
           
 int seq
           
 
Constructor Summary
TestChangeLog()
           
 
Method Summary
 int compareTo(TestChangeLog target)
           
 void readFields(java.io.DataInput in)
          Reads the fields of this object from in.
 void write(java.io.DataOutput out)
          Writes the fields of this object to out.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

seq

public int seq

id

public byte[] id

content

public byte[] content
Constructor Detail

TestChangeLog

public TestChangeLog()
Method Detail

readFields

public void readFields(java.io.DataInput in)
                throws java.io.IOException
Description copied from interface: NWritable
Reads the fields of this object from in. For efficiency, implementations should attempt to re-use storage in the existing object where possible.

Specified by:
readFields in interface NWritable
Throws:
java.io.IOException

write

public void write(java.io.DataOutput out)
           throws java.io.IOException
Description copied from interface: NWritable
Writes the fields of this object to out.

Specified by:
write in interface NWritable
Throws:
java.io.IOException

compareTo

public int compareTo(TestChangeLog target)
Specified by:
compareTo in interface java.lang.Comparable<TestChangeLog>